-
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 11 pull requests #91382
Rollup of 11 pull requests #91382
Commits on Nov 22, 2021
-
Only shown relevant type params in E0283 label
When we point at a binding to suggest giving it a type, erase all the type for ADTs that have been resolved, leaving only the ones that could not be inferred. For small shallow types this is not a problem, but for big nested types with lots of params, this can otherwise cause a lot of unnecessary visual output.
Configuration menu - View commit details
-
Copy full SHA for 577e985 - Browse repository at this point
Copy the full SHA 577e985View commit details -
Refer to uninferred
const
params by their name, instead of{ _: _ }
When the value of a const param isn't inferred, replace it with the param name from the definition.
Configuration menu - View commit details
-
Copy full SHA for d0d51ea - Browse repository at this point
Copy the full SHA d0d51eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a08bef - Browse repository at this point
Copy the full SHA 8a08befView commit details -
Configuration menu - View commit details
-
Copy full SHA for e462819 - Browse repository at this point
Copy the full SHA e462819View commit details
Commits on Nov 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d6e34ad - Browse repository at this point
Copy the full SHA d6e34adView commit details
Commits on Nov 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for eeaa215 - Browse repository at this point
Copy the full SHA eeaa215View commit details -
Configuration menu - View commit details
-
Copy full SHA for df3e7a2 - Browse repository at this point
Copy the full SHA df3e7a2View commit details
Commits on Nov 28, 2021
-
tests: Ignore
test/debuginfo/rc_arc.rs
on windows-gnuThe tests checks some pretty-printer output, but pretty-printers are not embedded on windows-gnu
Configuration menu - View commit details
-
Copy full SHA for b6f9416 - Browse repository at this point
Copy the full SHA b6f9416View commit details
Commits on Nov 29, 2021
-
Bump compiler_builtins to 0.1.55 to bring in fixes for targets lackin…
…g atomic support.
Configuration menu - View commit details
-
Copy full SHA for e500eb6 - Browse repository at this point
Copy the full SHA e500eb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c42a11 - Browse repository at this point
Copy the full SHA 3c42a11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c3c3e0 - Browse repository at this point
Copy the full SHA 6c3c3e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dec0d83 - Browse repository at this point
Copy the full SHA dec0d83View commit details -
Configuration menu - View commit details
-
Copy full SHA for c027105 - Browse repository at this point
Copy the full SHA c027105View commit details -
Configuration menu - View commit details
-
Copy full SHA for f67e73a - Browse repository at this point
Copy the full SHA f67e73aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29b4b6c - Browse repository at this point
Copy the full SHA 29b4b6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c9d9b4 - Browse repository at this point
Copy the full SHA 2c9d9b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 692e96c - Browse repository at this point
Copy the full SHA 692e96cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 188d670 - Browse repository at this point
Copy the full SHA 188d670View commit details
Commits on Nov 30, 2021
-
Rollup merge of rust-lang#87160 - estebank:colon-recovery, r=nagisa
When recovering from a `:` in a pattern, use adequate AST pattern If the suggestion to use `::` instead of `:` in the pattern isn't correct, a second resolution error will be emitted.
Configuration menu - View commit details
-
Copy full SHA for aec1574 - Browse repository at this point
Copy the full SHA aec1574View commit details -
Rollup merge of rust-lang#90709 - estebank:erase-known-type-params, r…
…=nagisa Only shown relevant type params in E0283 label When we point at a binding to suggest giving it a type, erase all the type for ADTs that have been resolved, leaving only the ones that could not be inferred. For small shallow types this is not a problem, but for big nested types with lots of params, this can otherwise cause a lot of unnecessary visual output.
Configuration menu - View commit details
-
Copy full SHA for ec9cd2a - Browse repository at this point
Copy the full SHA ec9cd2aView commit details -
Rollup merge of rust-lang#91045 - mjptree:issue-90702-fix, r=petroche…
…nkov Issue 90702 fix: Stop treating some crate loading failures as fatal errors Surface mulitple `extern crate` resolution errors at a time. This is achieved by creating a dummy crate, instead of aborting directly after the resolution error. The `ExternCrateError` has been added to allow propagating the resolution error from `rustc_metadata` crate to the `rustc_resolve` with a minimal public surface. The `import_extern_crate` function is a block that was factored out from `build_reduced_graph_for_item` for better organization. The only added functionality made to it where the added error handling in the `process_extern_crate` call. The remaining bits in this function are the same as before. Resolves rust-lang#90702 r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for 5cf4b13 - Browse repository at this point
Copy the full SHA 5cf4b13View commit details -
Rollup merge of rust-lang#91243 - jackh726:issue-91068, r=nikomatsakis
Don't treat unnormalized function arguments as well-formed Partial revert of rust-lang#88312 r? `@pnkfelix` cc `@nikomatsakis`
Configuration menu - View commit details
-
Copy full SHA for 0629ad2 - Browse repository at this point
Copy the full SHA 0629ad2View commit details -
Rollup merge of rust-lang#91250 - rukai:remove_trailing_whitespace, r…
…=wesleywiser Refactor EmitterWriter::emit_suggestion_default Makes progress towards rust-lang#89979 Split into 2 commits: * the first commit is purely a refactor and I verified that `./x.py test src/test/ui --stage 1` and `./x.py test src/test/rustdoc-ui --stage 1` continue to pass on this commit. * ~~the second commit removes the empty trailing line from diff style suggestions.~~ - I discovered an issue with this so its just the refactor now. r? diagnostics
Configuration menu - View commit details
-
Copy full SHA for e6c17fd - Browse repository at this point
Copy the full SHA e6c17fdView commit details -
Rollup merge of rust-lang#91317 - petrochenkov:debugnu, r=Mark-Simula…
…crum tests: Ignore `test/debuginfo/rc_arc.rs` on windows-gnu The tests checks some pretty-printer output, but pretty-printers are not embedded on windows-gnu. Regressed in rust-lang#85448.
Configuration menu - View commit details
-
Copy full SHA for da7612c - Browse repository at this point
Copy the full SHA da7612cView commit details -
Rollup merge of rust-lang#91323 - RalfJung:assert-type, r=oli-obk
CTFE: support assert_zero_valid and assert_uninit_valid This ensures the implementation of all three type-based assert_ intrinsics remains consistent in Miri. `assert_inhabited` recently got stabilized in rust-lang#90896 (meaning stable `const fn` can call it), so do the same with these other intrinsics. Cc ``@rust-lang/wg-const-eval``
Configuration menu - View commit details
-
Copy full SHA for ad898ec - Browse repository at this point
Copy the full SHA ad898ecView commit details -
Rollup merge of rust-lang#91340 - cr1901:no-atomic, r=Mark-Simulacrum
Bump compiler_builtins to 0.1.55 to bring in fixes for targets lackin… …g atomic support. This fixes a "Cannot select" LLVM error when compiling `compiler_builtins` for targets lacking atomics, like MSP430. Se rust-lang/compiler-builtins#441 for more info. This PR is a more general version of rust-lang#91248.
Configuration menu - View commit details
-
Copy full SHA for 86bd6a0 - Browse repository at this point
Copy the full SHA 86bd6a0View commit details -
Rollup merge of rust-lang#91358 - kd-collective:fix_typo, r=cjgillot
Fix small typo Fix a typo in code commenting! `accross` -> `across`
Configuration menu - View commit details
-
Copy full SHA for 06afe44 - Browse repository at this point
Copy the full SHA 06afe44View commit details -
Rollup merge of rust-lang#91360 - lnicola:rust-analyzer-2021-11-29, r…
…=lnicola ⬆️ rust-analyzer r? ``@ghost``
Configuration menu - View commit details
-
Copy full SHA for 5d4d3f2 - Browse repository at this point
Copy the full SHA 5d4d3f2View commit details -
Rollup merge of rust-lang#91368 - ecstatic-morse:mir-pass-reexport, r…
…=cjgillot Don't re-export `MirPass` `rust-analyzer` wants to use the `rustc_const_eval` one by default, which is weird. r? `@cjgillot`
Configuration menu - View commit details
-
Copy full SHA for 1a46a42 - Browse repository at this point
Copy the full SHA 1a46a42View commit details