about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-03-05Add ConstValue::Param and ConstValue::Infervarkor-1/+9
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05Add const kind and UnpackedKind::Constvarkor-6/+110
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05Take const generics into account when monomorphisingvarkor-22/+60
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05Use non_erasable_generics for codegenvarkor-3/+5
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05Add type_flags helper methods to constsvarkor-0/+43
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05Add InferConstvarkor-0/+11
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05Add ConstVidvarkor-0/+7
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05Add ParamConstvarkor-0/+20
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05Add Const generic param to tyvarkor-4/+24
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-05SGX target: Expose thread id function in os moduleJethro Beekman-0/+6
2019-03-05only print coverage pass lists if running on nightlyQuietMisdreavus-7/+11
2019-03-05remove unused Display implQuietMisdreavus-7/+0
2019-03-05Add a test for HashStable stabilityJohn Kåre Alsaker-0/+63
2019-03-05Make rustc_macro a Rust 2018 crateJohn Kåre Alsaker-20/+9
2019-03-05Add `return`John Kåre Alsaker-1/+1
2019-03-05Only insert nodes which changes lint levels in the LintLevelMapJohn Kåre Alsaker-84/+80
2019-03-05Move locate_ctxt backJohn Kåre Alsaker-21/+21
2019-03-05Removed whitespaceGiles Cope-1/+1
2019-03-05MIPS: add r6 supportYunQiang Su-0/+115
MIPS r6 is quite different with the previous version. It use some new target triples: mipsisa32r6-unknown-linux-gnu mipsisa32r6el-unknown-linux-gnu mipsisa64r6-unknown-linux-gnuabi64 mipsisa64r6el-unknown-linux-gnuabi64 This patch has been tested with Debian Port for mips64r6el, and the support of these triples also is included in llvm: https://reviews.llvm.org/rGe58c45a695f39004710b6ce940d489fee800dbd3
2019-03-05std: Spin for a global malloc lock on wasm32Alex Crichton-15/+80
There's lots of comments in the code, but the main gist of this commit is that the acquisition of the global malloc lock on the `wasm32-unknown-unknown` target when threads are enabled will not spin on contention rather than block.
2019-03-05Fix a tiny error in documentation of std::pin.Taeguk Kwon-1/+1
2019-03-05Rename the feature gate for alloc::preludeSimon Sapin-7/+8
… to separate it from that of the crate. New tracking issue: https://github.com/rust-lang/rust/issues/58935
2019-03-05core: ensure VaList passes improper_ctypes lintDan Robertson-7/+7
Ensure the core::ffi::VaList structure passes the improper_ctypes lint.
2019-03-05fixes rust-lang#52482Saleem Jaffer-47/+32
2019-03-05Unrolled await macro.Giles Cope-6/+6
Was then able to the minimise the reproduction a little further.
2019-03-05Move alloc::prelude::* to alloc::prelude::v1, make alloc a subset of stdSimon Sapin-10/+17
This was one of the unresolved questions of https://github.com/rust-lang/rfcs/pull/2480. As the RFC says this is maybe not useful in the sense that we are unlikely to ever have a second version, but making the crate a true subset makes one less issue to think about if we stabilize it and later want to merge standard library crates and have Cargo feature flags to enable or disable parts of the `std` crate. See also discussion in https://github.com/rust-lang/rust/pull/58175
2019-03-05Auto merge of #58423 - nox:relax-bounds-buf-reader, r=dtolnaybors-0/+2
Relax Read bounds on a bunch of BufReader<R> methods
2019-03-04Elide invalid method receiver error when it contains TyErrEsteban Küber-1/+33
Fix #58712.
2019-03-05Use Ident for projectJohn Kåre Alsaker-4/+3
2019-03-05Add librustc, libsyntax to rust-src distribution.Taeguk Kwon-0/+2
2019-03-04Make the lifetime parameters of tcx consistent.Gabriela Alexandra Moldovan-4/+4
2019-03-05Add ignore and project attributesJohn Kåre Alsaker-5/+61
2019-03-05Encode proc macro stabilityJohn Kåre Alsaker-2/+7
2019-03-05Bootstrap changesJohn Kåre Alsaker-36/+96
2019-03-05Allow linking to a proc macro on the target in metadata and still use a host ↵John Kåre Alsaker-56/+122
proc macro to execute them
2019-03-05Create a derive macro for HashStableJohn Kåre Alsaker-7/+63
2019-03-04Add as_slice() to slice::IterMut and vec::DrainJosh Stone-0/+51
In bluss/indexmap#88, we found that there was no easy way to implement `Debug` for our `IterMut` and `Drain` iterators. Those are built on `slice::IterMut` and `vec::Drain`, which implement `Debug` themselves, but have no other way to access their data. With a new `as_slice()` method, we can read the data and customize its presentation.
2019-03-04Fix rebase and move suggestion to its own methodEsteban Küber-29/+46
2019-03-04Add an explicit test for issue #50582Josh Stone-0/+15
This code no longer ICEs, and @yodaldevoid found that it was fixed by commit fe5710a. While that added a similar test, we can explicitly test this reproducer too. Closes #50582.
2019-03-04Add fixmeEsteban Küber-3/+4
2019-03-04On return type `impl Trait` for block with no expr point at last semiEsteban Küber-5/+47
2019-03-04Regression test added for an async ICE.Giles Cope-0/+27
2019-03-04Use early unwraps instead of bubbling up errors just to unwrap in the endOliver Scherer-44/+30
2019-03-04Use bit operations for setting large ranges of bits in a u64Oliver Scherer-18/+35
2019-03-04Use a more general approach for setting large definedness rangesOliver Scherer-25/+45
2019-03-04Test the `UndefMask` typeOliver Scherer-0/+26
2019-03-04Don't try to copy relocations if there are noneOliver Scherer-17/+22
2019-03-04No magic numbersOliver Scherer-1/+1
2019-03-04Optimize copying large ranges of undefmask blocksOliver Scherer-9/+58
2019-03-04Fix typoEdward Barnard-1/+1