-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 15 pull requests #48510
Rollup of 15 pull requests #48510
Commits on Feb 9, 2018
-
Remove "static item recursion checking" in favor of relying on cycle …
…checks in the query engine
Configuration menu - View commit details
-
Copy full SHA for ae46434 - Browse repository at this point
Copy the full SHA ae46434View commit details
Commits on Feb 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 46a3f2f - Browse repository at this point
Copy the full SHA 46a3f2fView commit details
Commits on Feb 13, 2018
-
incr.comp.: Don't keep RefCells in on-disk-cache borrowed in order to…
… allow for recursive invocations.
Configuration menu - View commit details
-
Copy full SHA for 335e25f - Browse repository at this point
Copy the full SHA 335e25fView commit details
Commits on Feb 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 75f72c0 - Browse repository at this point
Copy the full SHA 75f72c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70e1f4f - Browse repository at this point
Copy the full SHA 70e1f4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1fbf79 - Browse repository at this point
Copy the full SHA f1fbf79View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbacf0c - Browse repository at this point
Copy the full SHA dbacf0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4b8475 - Browse repository at this point
Copy the full SHA d4b8475View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e9c55f - Browse repository at this point
Copy the full SHA 9e9c55fView commit details
Commits on Feb 15, 2018
-
mir: Gather move at SwitchInt, Assert terminators
Previously, "_1" was not marked as "definitely uninitialized" after a "switchInt(move _1)" terminator. Related discussion: https://internals.rust-lang.org/t/why-is-2-definitely-initialized-after-switchint-move-2/6760
Configuration menu - View commit details
-
Copy full SHA for fe0260f - Browse repository at this point
Copy the full SHA fe0260fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9fa2da - Browse repository at this point
Copy the full SHA b9fa2daView commit details
Commits on Feb 16, 2018
-
save-analysis: power through bracket mis-counts
Closes rust-lang#47981 This is pretty unsatisfying since it is working around a span bug. However, I can't track down the span bug and it could be in the parser, proc macro expansion, the user macro, or Syn (or any other library that can manipulate spans). Given that user code can cause this error, I think we need to be more robust here.
Configuration menu - View commit details
-
Copy full SHA for 10fbdb8 - Browse repository at this point
Copy the full SHA 10fbdb8View commit details
Commits on Feb 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 42df8c5 - Browse repository at this point
Copy the full SHA 42df8c5View commit details
Commits on Feb 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for d5ed655 - Browse repository at this point
Copy the full SHA d5ed655View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15ff0ad - Browse repository at this point
Copy the full SHA 15ff0adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ff633c - Browse repository at this point
Copy the full SHA 8ff633cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1be7f96 - Browse repository at this point
Copy the full SHA 1be7f96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89b3ef3 - Browse repository at this point
Copy the full SHA 89b3ef3View commit details
Commits on Feb 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1aad320 - Browse repository at this point
Copy the full SHA 1aad320View commit details
Commits on Feb 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 713b05f - Browse repository at this point
Copy the full SHA 713b05fView commit details
Commits on Feb 22, 2018
-
support unit tests with return values that implement
Terminaton
Extend `Termination` trait with a method to determine what happens with a unit test. This commit incorporates work by Bastian Köcher <git@kchr.de>.
Configuration menu - View commit details
-
Copy full SHA for 1eab1b1 - Browse repository at this point
Copy the full SHA 1eab1b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0625d4c - Browse repository at this point
Copy the full SHA 0625d4cView commit details -
put the "unit test" logic into libtest
Also make `std::termination` module public and rename feature. The lib feature needs a different name from the language feature.
Configuration menu - View commit details
-
Copy full SHA for e446f70 - Browse repository at this point
Copy the full SHA e446f70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f1e78f - Browse repository at this point
Copy the full SHA 5f1e78fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f35141 - Browse repository at this point
Copy the full SHA 8f35141View commit details
Commits on Feb 23, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 067c2e3 - Browse repository at this point
Copy the full SHA 067c2e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0ed88d - Browse repository at this point
Copy the full SHA e0ed88dView commit details -
delete this test file: it also appears as
src/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs
Configuration menu - View commit details
-
Copy full SHA for a0562ec - Browse repository at this point
Copy the full SHA a0562ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a5f4ae - Browse repository at this point
Copy the full SHA 0a5f4aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 068e383 - Browse repository at this point
Copy the full SHA 068e383View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10f7c11 - Browse repository at this point
Copy the full SHA 10f7c11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 380e388 - Browse repository at this point
Copy the full SHA 380e388View commit details -
update tests and reference files
The type checker invokes the borrow checker for closures it finds, so removing the NLL type checker affects ordering of errors somewhat.
Configuration menu - View commit details
-
Copy full SHA for 2370b60 - Browse repository at this point
Copy the full SHA 2370b60View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd9968 - Browse repository at this point
Copy the full SHA bcd9968View commit details
Commits on Feb 24, 2018
-
Rollup merge of rust-lang#47987 - Zoxc:rm-recursion-checking, r=eddyb
Remove "static item recursion checking" in favor of relying on cycle checks in the query engine Tests are changed to use the cycle check error message instead. Some duplicate tests are removed. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 25ec810 - Browse repository at this point
Copy the full SHA 25ec810View commit details -
Rollup merge of rust-lang#48084 - cramertj:impl-trait-errors, r=nikom…
…atsakis Error on nested impl Trait and path projections from impl Trait cc rust-lang#34511 r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for a79e5e2 - Browse repository at this point
Copy the full SHA a79e5e2View commit details -
Rollup merge of rust-lang#48143 - nikomatsakis:termination_trait_in_t…
…ests, r=eddyb Termination trait in tests Support the `Termination` trait in unit tests (cc rust-lang#43301) Also, a drive-by fix for rust-lang#47075. This is joint work with @bkchr.
Configuration menu - View commit details
-
Copy full SHA for b52b33a - Browse repository at this point
Copy the full SHA b52b33aView commit details -
Rollup merge of rust-lang#48185 - michaelwoerister:recursive-cache-de…
…coding, r=nikomatsakis incr.comp.: Don't keep RefCells in on-disk-cache borrowed in order to allow for recursive invocations. Fixes rust-lang#47972. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for e966993 - Browse repository at this point
Copy the full SHA e966993View commit details -
Rollup merge of rust-lang#48206 - michaelwoerister:colors-array, r=ni…
…komatsakis incr.comp.: Store DepNode colors in a dense array instead of a hashmap. Implements half of rust-lang#47293. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 111af8f - Browse repository at this point
Copy the full SHA 111af8fView commit details -
Rollup merge of rust-lang#48232 - fpoli:master, r=pnkfelix
mir: Gather move at SwitchInt, Assert terminators Previously, `_1` was not marked as "definitely uninitialized" after a `switchInt(move _1)` terminator. I think the same goes for the `assert` terminator. Related discussion: https://internals.rust-lang.org/t/why-is-2-definitely-initialized-after-switchint-move-2/6760
Configuration menu - View commit details
-
Copy full SHA for 8fdad6f - Browse repository at this point
Copy the full SHA 8fdad6fView commit details -
Rollup merge of rust-lang#48246 - estebank:ice, r=nikomatsakis
Avoid ICE in arg mistmatch error for tuple variants Fix rust-lang#47706.
Configuration menu - View commit details
-
Copy full SHA for 387d177 - Browse repository at this point
Copy the full SHA 387d177View commit details -
Rollup merge of rust-lang#48258 - nrc:save-proc-nested, r=eddyb
save-analysis: power through bracket mis-counts Closes rust-lang#47981 This is pretty unsatisfying since it is working around a span bug. However, I can't track down the span bug and it could be in the parser, proc macro expansion, the user macro, or Syn (or any other library that can manipulate spans). Given that user code can cause this error, I think we need to be more robust here. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for b3f85fd - Browse repository at this point
Copy the full SHA b3f85fdView commit details -
Rollup merge of rust-lang#48317 - ExpHP:unused-unsafe-is-no-fn, r=est…
…ebank unused_unsafe: don't label irrelevant fns Fixes rust-lang#48131 Diagnostic bugfix to remove an errant note. Stops the search for an enclosing unsafe scope at the first safe fn encountered. ```rust pub unsafe fn outer() { fn inner() { unsafe { /* unnecessary */ } } inner() } ``` **Before:** ``` warning: unnecessary `unsafe` block --> src/main.rs:3:9 | 1 | pub unsafe fn outer() { | --------------------- because it's nested under this `unsafe` fn 2 | fn inner() { 3 | unsafe { /* unnecessary */ } | ^^^^^^ unnecessary `unsafe` block | = note: #[warn(unused_unsafe)] on by default ``` **After:** ``` warning: unnecessary `unsafe` block --> src/main.rs:3:9 | 3 | unsafe { /* unnecessary */ } | ^^^^^^ unnecessary `unsafe` block | = note: #[warn(unused_unsafe)] on by default ```
Configuration menu - View commit details
-
Copy full SHA for a1a1409 - Browse repository at this point
Copy the full SHA a1a1409View commit details -
Rollup merge of rust-lang#48353 - michaelwoerister:monoitem-static-de…
…fid, r=eddyb Allow for instantiating statics from upstream crates This PR makes the infrastructure around translating statics a bit more flexible so that it can also instantiate statics from upstream crates if the need arises. This is preparatory work for a MIR-only RLIBs prototype, where the instantiation of a `static` may be deferred until a leaf crate. r? @eddyb (feel free to assign to someone else if you're busy)
Configuration menu - View commit details
-
Copy full SHA for 2483d84 - Browse repository at this point
Copy the full SHA 2483d84View commit details -
Rollup merge of rust-lang#48356 - estebank:unsafe-without-braces, r=n…
…ikomatsakis When encountering invalid token after `unsafe`, mention `{` Fix rust-lang#37158.
Configuration menu - View commit details
-
Copy full SHA for fc7caed - Browse repository at this point
Copy the full SHA fc7caedView commit details -
Rollup merge of rust-lang#48402 - eddyb:y-u-no-inline, r=nikomatsakis
rustc_data_structures: add missing #[inline]. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 6ec5dc3 - Browse repository at this point
Copy the full SHA 6ec5dc3View commit details -
Rollup merge of rust-lang#48061 - nikomatsakis:nll-do-not-run-mir-typ…
…eck-twice, r=eddyb Fixes rust-lang#47311. r? @nrc
Configuration menu - View commit details
-
Copy full SHA for 182f882 - Browse repository at this point
Copy the full SHA 182f882View commit details