about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-04-24Add builtin impls for int and float inference vars in chalkTyler Mandry-14/+19
2019-04-24chalkify: Add Copy/Clone builtinsTyler Mandry-21/+192
2019-04-24Remove useless code and update index page testGuillaume Gomez-25/+5
2019-04-24Prevent failure in case no space left on device in rustdocGuillaume Gomez-3/+4
2019-04-24Add test for rustdoc cfg(test) featureGuillaume Gomez-0/+25
2019-04-24Add regression test for #53249.David Wood-0/+47
2019-04-24Set test flag when rustdoc is running with --test optionGuillaume Gomez-0/+3
2019-04-24Add Pin::{into_inner,into_inner_unchecked}Wim Looman-0/+34
2019-04-24Derive Default for EllipsisInclusiveRangePatternssd234678-9/+2
2019-04-24Evaluate hair::ExprKind::Use in intoMatthew Jasper-24/+22
This avoids some unnecessary moves
2019-04-24Allow subtyping of the final expression of a constantMatthew Jasper-5/+46
Fixes an ICE for the following code: fn foo(_ : &()) {} static X: fn(&'static ()) = foo;
2019-04-24Remove incorrect debug assertion in interpretMatthew Jasper-2/+1
Cast type may be a subtype of the destination type. There is a later assertion that they have the same layout.
2019-04-24Derive Default instead of new in applicable lintsd234678-7/+2
2019-04-24doc: some HirIdificationljedrz-30/+23
2019-04-24hir: make NodeId methods depend on HirId onesljedrz-118/+102
2019-04-24hir: remove NodeId from Entry & simplify Mapljedrz-78/+80
2019-04-24Bootstrap x86_64 musl by itselfMateusz Mikuła-10/+9
2019-04-24Auto merge of #60180 - ehuss:update-cargo-books, r=alexcrichtonbors-0/+0
Update cargo, books ## cargo 5 commits in b6581d383ed596b133e330011658c6f83cf85c2f..6be12653dcefb46ee7b605f063ee75b5e6cba513 2019-04-16 16:02:11 +0000 to 2019-04-19 15:05:03 +0000 - Improved docs for `maintenance` options (rust-lang/cargo#6863) - publish-lockfile: Various updates (rust-lang/cargo#6840) - Treat HTTP/2 stream errors as spurious network errors. (rust-lang/cargo#6861) - Validate registry token before operations that require it. (rust-lang/cargo#6854) - Cleanups wrt DYLD_FALLBACK_LIBRARY_PATH handling (rust-lang/cargo#6856) ## reference 2 commits in 98f90ff4de8e588f651f0fb493b5c7496551cd59..2a2de9ce095979978ad7b582daecf94e4070b916 2019-04-06 09:29:08 -0700 to 2019-04-22 10:25:52 -0700 - Remove unused link references. (rust-lang-nursery/reference#560) - Fix attribute redirects. (rust-lang-nursery/reference#562) ## book 22 commits in b93ec30bbc7b1b5c2f44223249ab359bed2ed5a6..db919bc6bb9071566e9c4f05053672133eaac33e 2019-03-26 16:54:10 -0400 to 2019-04-15 20:11:03 -0400 - Link to chapters mentioned in chapter 12 - Split up a long sentence - Unclear wording 4.3 (rust-lang/book#1907) - Corrected error for array out of bounds (rust-lang/book#1900) - Make lifetime explanation clearer (rust-lang/book#1901) - Replace `T: 'a + Messenger` with `T: Messenger` (rust-lang/book#1831) - Update range so matches rust-fmt . (rust-lang/book#1890) - Adding trailing comma (rust-lang/book#1891) - point 2018 book redirects to existing pages instead of index (rust-lang/book#1919) - Update ch04-03-slices.md (rust-lang/book#1921) - Update link for Russian translation. (rust-lang/book#1915) - Ch7 layout (rust-lang/book#1917) - Update the version of mdbook we use in-tree to match rust-lang/rust (rust-lang/book#1912) - Fix spellingz - Update listings in ch 19-6 for nostarch - Add a high-level overview of the changes in this version of the book - Fix Travis CI badge url (rust-lang/book#1893) - Redo listing numbers in chapter 19 after removals - Remove Advanced Lifetimes section completely - Merge branch 'gh1780' - Merge remote-tracking branch 'origin/master' into gh1567 - remove lifetime subtyping ## rust-by-example 4 commits in f68ef3d0f4959f6a7d92a08d9994b117f0f4d32d..1ff0f8e018838a710ebc0cc1a7bf74ebe73ad9f1 2019-03-12 15:32:12 -0300 to 2019-04-15 08:15:32 -0300 - Fix borrow so it fails in 2018 edition Fixes rust-lang/rust-by-example#1141 (rust-lang/rust-by-example#1152) - Replace lvalue and rvalue with place and value (rust-lang/rust-by-example#1160) - Mutate array in iter_mut() example (rust-lang/rust-by-example#1165) - Fix a typo ("half" -> "halve") (rust-lang/rust-by-example#1172) ## rustc-guide 8 commits in 464cb5b166378dff64619081dd4c42533a1eb989..99e1b1d53656be08654df399fc200584aebb50e4 2019-03-23 18:39:14 -0500 to 2019-04-20 09:57:54 -0500 - Update BodyId description - Update test-implementation chapter to current code - update chalk with new organization - move to subsection - fix MovePathIndex link - Update query chapter for the query macro rewrite - subchapter with information about `--error-format json` - Update query-evaluation-model-in-detail.md ## edition-guide 1 commits in b56ddb11548450a6df4edd1ed571b2bc304eb9e6..c413d42a207bd082f801ec0137c31b71e4bfed4c 2019-03-10 10:23:16 +0100 to 2019-04-22 01:14:56 +0200 - fix command (rust-lang-nursery/edition-guide#155) ## embedded-book 1 commits in 7989c723607ef5b13b57208022259e6c771e11d0..de3d55f521e657863df45260ebbca1b10527f662 2019-04-04 12:14:37 +0000 to 2019-04-22 12:58:28 +0000 - Minor fixes (rust-embedded/book#185) ## nomicon 6 commits in c02e0e7754a76886e55b976a3a4fac20100cd35d..fb29b147be4d9a1f8e24aba753a7e1de537abf61 2019-03-25 16:52:56 -0400 to 2019-04-22 19:10:29 -0400 - Fix link to copy_nonoverlapping (rust-lang-nursery/nomicon#134) - Various unchecked-uninit improvements (rust-lang-nursery/nomicon#130) - OOM behaviour in `vec-alloc.md` (rust-lang-nursery/nomicon#133) - Added missing "things". (rust-lang-nursery/nomicon#131) - Fix number agreement in subtyping chapter (rust-lang-nursery/nomicon#128) - Minor improvements (rust-lang-nursery/nomicon#129)
2019-04-24Fix ignore-logic for sanitizer run-make tests.Michael Woerister-9/+6
2019-04-24Auto merge of #60213 - Manishearth:clippyup, r=oli-obkbors-9/+15
Update clippy r? @oli-obk @centril
2019-04-23Update cargo, booksEric Huss-0/+0
2019-04-24Rollup merge of #60190 - nnethercote:less-metadata-gen, r=alexcrichtonMazdak Farrokhzad-23/+37
Don't generate unnecessary rmeta files. As per https://github.com/rust-lang/rust/pull/60006#issuecomment-484284191. r? @alexcrichton
2019-04-24Rollup merge of #60186 - estebank:accept-suffix, r=nikomatsakisMazdak Farrokhzad-3/+31
Temporarily accept [i|u][32|size] suffixes on a tuple index and warn Fix #60138. #59553 will need to be kept open to track the change back to rejecting this code a few versions down thee line.
2019-04-24Rollup merge of #59822 - GuillaumeGomez:fix-dark-theme-css, r=ManishearthMazdak Farrokhzad-3/+3
Fix dark css rule Fixes #59817. r? @rust-lang/rustdoc
2019-04-24Rollup merge of #59739 - cramertj:stabilize, r=withoutboatsMazdak Farrokhzad-71/+178
Stabilize futures_api cc https://github.com/rust-lang/rust/issues/59725. Based on https://github.com/rust-lang/rust/pull/59733 and https://github.com/rust-lang/rust/pull/59119 -- only the last two commits here are relevant. r? @withoutboats , @oli-obk for the introduction of `rustc_allow_const_fn_ptr`.
2019-04-24Rollup merge of #56278 - eddyb:mir-debuginfo-proof, r=nikomatsakisMazdak Farrokhzad-254/+318
Future-proof MIR for dedicated debuginfo. This is #56231 without the last commit (the one that actually moves to `VarDebuginfo`). Nothing should be broken, but it should no longer depend on debuginfo for anything else. r? @nikomatsakis
2019-04-24Auto merge of #58623 - Amanieu:hashbrown3, r=alexcrichtonbors-2398/+501
Replace HashMap implementation with SwissTable (as an external crate) This is the same as #56241 except that it imports `hashbrown` as an external crate instead of copying the implementation into libstd. This includes a few API changes (all unstable): - `try_reserve` is added to `HashSet`. - Some trait bounds have been changed in the `raw_entry` API. - `search_bucket` has been removed from the `raw_entry` API (doesn't work with SwissTable).
2019-04-24Don't generate unnecessary rmeta files.Nicholas Nethercote-23/+37
2019-04-23Stabilize futures_apiTaylor Cramer-66/+86
2019-04-23Add rustc_allow_const_fn_ptrTaylor Cramer-6/+93
2019-04-24Update hashbrown to 0.3.0Amanieu d'Antras-1/+1
2019-04-24Update hashbrown to 0.2.2Amanieu d'Antras-1/+1
2019-04-24Remove stabilized alloc feature from rustc-std-workspace-allocAmanieu d'Antras-1/+1
2019-04-24Update hashbrown to 0.2.1Amanieu d'Antras-1/+1
2019-04-24Remove broken testsAmanieu d'Antras-74/+0
2019-04-24Fix testAmanieu d'Antras-3/+3
2019-04-24Replace the robin-hood hash table with hashbrownAmanieu d'Antras-2278/+405
2019-04-24Make libstd depend on the hashbrown crateAmanieu d'Antras-0/+24
2019-04-24Mark HashSet functions with #[inline]Amanieu d'Antras-0/+45
2019-04-24Add try_reserve to HashSetAmanieu d'Antras-0/+24
2019-04-24Remove the Recover trait for HashSetAmanieu d'Antras-52/+9
2019-04-23review comment: change linked ticketEsteban Küber-1/+1
2019-04-23Fix index-page generationGuillaume Gomez-2/+7
2019-04-23rustc_mir: create the `let` and "remainder" scopes in source order.Eduard-Mihai Burtescu-10/+11
2019-04-23rustc_mir: pretty-print all locals into their respective scopes.Eduard-Mihai Burtescu-96/+74
2019-04-23rustc_mir: don't rely on mir::LocalDecl `visibility_scope`s in the MIR borrowck.Eduard-Mihai Burtescu-5/+1
2019-04-23rustc: dissuade compiler developers from misusing upvar debuginfo.Eduard-Mihai Burtescu-24/+29
2019-04-23rustc_codegen_ssa: rename debuginfo_upvar_decls_ops_sequence to ↵Eduard-Mihai Burtescu-3/+3
debuginfo_upvar_ops_sequence.
2019-04-23rustc_mir: don't use upvar_decls in the miri validity checks.Eduard-Mihai Burtescu-6/+22
2019-04-23rustc_mir: don't use upvar_decls in the generator state transform.Eduard-Mihai Burtescu-5/+5