-
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 9 pull requests #66917
Rollup of 9 pull requests #66917
Commits on Nov 17, 2019
-
print a more useful error message on should_panic mismatch
Thomas Etter committedNov 17, 2019 Configuration menu - View commit details
-
Copy full SHA for be993be - Browse repository at this point
Copy the full SHA be993beView commit details -
replace some asserts with assert_eq for better error readability
Thomas Etter committedNov 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 48a86e0 - Browse repository at this point
Copy the full SHA 48a86e0View commit details
Commits on Nov 19, 2019
-
Simplify if else as suggested in PR feedback
Thomas Etter committedNov 19, 2019 Configuration menu - View commit details
-
Copy full SHA for 16bf4f5 - Browse repository at this point
Copy the full SHA 16bf4f5View commit details
Commits on Nov 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1e91e4e - Browse repository at this point
Copy the full SHA 1e91e4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3277209 - Browse repository at this point
Copy the full SHA 3277209View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8af2f22 - Browse repository at this point
Copy the full SHA 8af2f22View commit details
Commits on Nov 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a229979 - Browse repository at this point
Copy the full SHA a229979View commit details
Commits on Nov 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c66ad14 - Browse repository at this point
Copy the full SHA c66ad14View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c09f7 - Browse repository at this point
Copy the full SHA d7c09f7View commit details
Commits on Nov 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5d23518 - Browse repository at this point
Copy the full SHA 5d23518View commit details
Commits on Nov 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1f853d2 - Browse repository at this point
Copy the full SHA 1f853d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59a768c - Browse repository at this point
Copy the full SHA 59a768cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05db660 - Browse repository at this point
Copy the full SHA 05db660View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a86b6c - Browse repository at this point
Copy the full SHA 2a86b6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8fb24f - Browse repository at this point
Copy the full SHA f8fb24fView commit details
Commits on Nov 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 52426ab - Browse repository at this point
Copy the full SHA 52426abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c4d453 - Browse repository at this point
Copy the full SHA 1c4d453View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f20198 - Browse repository at this point
Copy the full SHA 7f20198View commit details -
Configuration menu - View commit details
-
Copy full SHA for a52eb05 - Browse repository at this point
Copy the full SHA a52eb05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ced9d9 - Browse repository at this point
Copy the full SHA 2ced9d9View commit details
Commits on Dec 1, 2019
-
Rollup merge of rust-lang#66503 - thomasetter:panic-error-msg, r=josh…
…triplett More useful test error messages on should_panic(expected=...) mismatch Fixes rust-lang#66304 r? @gilescope Shows both the actual as well as the expected panic value when a test with `should_panic(expected=...)` fails. This makes `should_panic` more consistent with `assert_eq`. I am not sure whether printing the `Any::type_id()` is useful, is there something better that we could print for non-string panic values?
Configuration menu - View commit details
-
Copy full SHA for 6110d3e - Browse repository at this point
Copy the full SHA 6110d3eView commit details -
Rollup merge of rust-lang#66662 - RalfJung:miri-test-liballoc, r=dtolnay
Miri: run panic-catching tests in liballoc I also converted two tests from using `thread::spawn(...).join()` just for catching panics, to `catch_panic`, so that Miri can run them.
Configuration menu - View commit details
-
Copy full SHA for cb43d82 - Browse repository at this point
Copy the full SHA cb43d82View commit details -
Rollup merge of rust-lang#66679 - mark-i-m:fix-anon-lifetime-errors, …
…r=matthewjasper Improve lifetime errors with implicit trait object lifetimes r? @matthewjasper cc @estebank I still think the ideal solution would be to construct a `BrAnon`, but that seems like a more invasive change, and can be done later. This at least gets rid of the hack in `OutliveSuggestion` and is slightly more principled.
Configuration menu - View commit details
-
Copy full SHA for 99f9fa3 - Browse repository at this point
Copy the full SHA 99f9fa3View commit details -
Rollup merge of rust-lang#66726 - CAD97:miri-recursion-limit, r=RalfJung
Use recursion_limit for const eval stack limit cc rust-lang/miri#643 @orium @RalfJung I'm really not certain how exactly to handle this change, but it looks like it's that simple. Reuse `recursion_limit` ("The maximum recursion limit for potentially infinitely recursive operations such as auto-dereference and monomorphization") which is configurable by the user for the const evaluation stack frame limit. The other option is to make `const_eval_stack_frame_limit` configurable in the same way as `recursion_limit` (but I'm not sure how to do that and it'd be a bigger change). Fixes rust-lang/miri#643.
Configuration menu - View commit details
-
Copy full SHA for 60f4212 - Browse repository at this point
Copy the full SHA 60f4212View commit details -
Rollup merge of rust-lang#66790 - christianpoveda:check-set-discrimin…
…ant, r=oli-obk Do `min_const_fn` checks for `SetDiscriminant`s target Fixes rust-lang#66556 r? @oli-obk @ecstatic-morse
Configuration menu - View commit details
-
Copy full SHA for 75fd413 - Browse repository at this point
Copy the full SHA 75fd413View commit details -
Rollup merge of rust-lang#66832 - RalfJung:const-prop-no-alloc, r=oli…
…-obk const_prop: detect and avoid catching Miri errors that require allocation r? @wesleywiser @oli-obk
Configuration menu - View commit details
-
Copy full SHA for d91e63b - Browse repository at this point
Copy the full SHA d91e63bView commit details -
Rollup merge of rust-lang#66880 - aDotInTheVoid:add-E0203-long, r=Gui…
…llaumeGomez Add long error code explanation message for E0203 Addressed some of rust-lang#61137 r? @GuillaumeGomez
Configuration menu - View commit details
-
Copy full SHA for d4f5956 - Browse repository at this point
Copy the full SHA d4f5956View commit details -
Rollup merge of rust-lang#66890 - dtolnay:fmt4, r=Dylan-DPC
Format liballoc with rustfmt Same strategy as rust-lang#66691 -- as with my previous formatting PRs, I am avoiding causing merge conflicts in other PRs by only touches those files that are not involved in any currently open PR. Files that appear in new PRs between when this PR is opened and when it makes it to the top of the bors queue will be reverted from this PR. The list of files involved in open PRs is determined by querying GitHub's GraphQL API [with this script](https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8). With the list of files from the script in outstanding_files, the relevant commands were: ``` $ find src/liballoc -name '*.rs' \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ rg liballoc outstanding_files | xargs git checkout -- ``` To confirm no funny business: ``` $ git checkout $THIS_COMMIT^ $ git show --pretty= --name-only $THIS_COMMIT \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ git diff $THIS_COMMIT # there should be no difference ``` r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 3db3f15 - Browse repository at this point
Copy the full SHA 3db3f15View commit details -
Rollup merge of rust-lang#66896 - RalfJung:queries, r=Zoxc
pass Queries to compiler callbacks rust-lang#66791 made it impossible to access the tcx in the callbacks; this should fix that. r? @Zoxc
Configuration menu - View commit details
-
Copy full SHA for bed4c09 - Browse repository at this point
Copy the full SHA bed4c09View commit details