-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 7 pull requests #105667
Rollup of 7 pull requests #105667
Commits on Dec 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0c0fb22 - Browse repository at this point
Copy the full SHA 0c0fb22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6275b04 - Browse repository at this point
Copy the full SHA 6275b04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c0983c - Browse repository at this point
Copy the full SHA 3c0983cView commit details
Commits on Dec 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8937720 - Browse repository at this point
Copy the full SHA 8937720View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0c3228 - Browse repository at this point
Copy the full SHA b0c3228View commit details
Commits on Dec 13, 2022
-
Allow unsafe through inline const
This is handled similar to closures
Configuration menu - View commit details
-
Copy full SHA for 9342d1e - Browse repository at this point
Copy the full SHA 9342d1eView commit details -
Allow unsafe through inline const for THIR unsafety checker
The closure handling code is changed slightly to avoid allocation when THIR building failed.
Configuration menu - View commit details
-
Copy full SHA for aa5af2a - Browse repository at this point
Copy the full SHA aa5af2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f03c2ae - Browse repository at this point
Copy the full SHA f03c2aeView commit details -
Ensure valid local_data is set for custom mir building
MIR unsafety checking requires this to be valid
Configuration menu - View commit details
-
Copy full SHA for adf1717 - Browse repository at this point
Copy the full SHA adf1717View commit details -
Remove unnecessary recursive call to parent unsafeck
All bodies are unsafe checked anyway. Current MIR unsafeck also just returns for closures.
Configuration menu - View commit details
-
Copy full SHA for 5c58a1b - Browse repository at this point
Copy the full SHA 5c58a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2830cb - Browse repository at this point
Copy the full SHA d2830cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6dc912 - Browse repository at this point
Copy the full SHA d6dc912View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8a4510 - Browse repository at this point
Copy the full SHA a8a4510View commit details -
Make some diagnostics not depend on the source of what they reference…
… being available
Configuration menu - View commit details
-
Copy full SHA for cb26b35 - Browse repository at this point
Copy the full SHA cb26b35View commit details -
Inform the user which trait is meant in the diagnostic itself instead…
… of relying on the span making it obvious
Configuration menu - View commit details
-
Copy full SHA for 717294f - Browse repository at this point
Copy the full SHA 717294fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 063b167 - Browse repository at this point
Copy the full SHA 063b167View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e2a479 - Browse repository at this point
Copy the full SHA 2e2a479View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59554a2 - Browse repository at this point
Copy the full SHA 59554a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6984085 - Browse repository at this point
Copy the full SHA 6984085View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f5cb9e - Browse repository at this point
Copy the full SHA 1f5cb9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82ce70a - Browse repository at this point
Copy the full SHA 82ce70aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3522d48 - Browse repository at this point
Copy the full SHA 3522d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ae0c55 - Browse repository at this point
Copy the full SHA 4ae0c55View commit details -
Configuration menu - View commit details
-
Copy full SHA for b22769a - Browse repository at this point
Copy the full SHA b22769aView commit details -
Change pattern borrowing suggestions to be verbose
Synthesize a more accurate span and use verbose suggestion output to make the message clearer.
Configuration menu - View commit details
-
Copy full SHA for e46416e - Browse repository at this point
Copy the full SHA e46416eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f7c257 - Browse repository at this point
Copy the full SHA 4f7c257View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd72b1a - Browse repository at this point
Copy the full SHA dd72b1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8bd1d0 - Browse repository at this point
Copy the full SHA b8bd1d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf0b6b9 - Browse repository at this point
Copy the full SHA cf0b6b9View commit details -
Rollup merge of rust-lang#105147 - nbdd0121:inline_const_unsafe, r=ol…
…i-obk Allow unsafe through inline const Handle similar to closures. Address rust-lang#104087 (comment) Note that this PR does not fix the issue for `unsafe { [0; function_requiring_unsafe()] }`. This is fundamentally unfixable for MIR unsafeck IMO. This PR also does not fix unsafety checking for inline const in pattern position. It actually breaks it, allowing unsafe functions to be used in inline const in pattern position without unsafe blocks. Inline const in pattern position is not visible in MIR so ignored by MIR unsafety checking (currently it is also not checked by borrow checker, which is the reason why it's considered an incomplete feature). `@rustbot` label: +T-lang +F-inline_const
Configuration menu - View commit details
-
Copy full SHA for 7357cfb - Browse repository at this point
Copy the full SHA 7357cfbView commit details -
Rollup merge of rust-lang#105438 - compiler-errors:move-methods, r=es…
…tebank Move some codegen-y methods from `rustc_hir_analysis::collect` -> `rustc_codegen_ssa` Unclear if they should live here, but they seem codegen-y enough, and `rustc_hir_analysis::collect` is extremely long, so it should probably lose some methods.
Configuration menu - View commit details
-
Copy full SHA for 51375dd - Browse repository at this point
Copy the full SHA 51375ddView commit details -
Rollup merge of rust-lang#105464 - nbdd0121:hir, r=compiler-errors
Support #[track_caller] on async closures Follow up on rust-lang#105180 r? ```@compiler-errors``` cc ```@cjgillot```
Configuration menu - View commit details
-
Copy full SHA for 5e38e70 - Browse repository at this point
Copy the full SHA 5e38e70View commit details -
Rollup merge of rust-lang#105476 - estebank:moves-n-borrows, r=compil…
…er-errors Change pattern borrowing suggestions to be verbose and remove invalid suggestion Synthesize a more accurate span and use verbose suggestion output to make the message clearer. Do not suggest borrowing binding in pattern in let else. Fix rust-lang#104838.
Configuration menu - View commit details
-
Copy full SHA for dcdbbd0 - Browse repository at this point
Copy the full SHA dcdbbd0View commit details -
Rollup merge of rust-lang#105500 - oli-obk:unhide_unknown_spans, r=es…
…tebank Make some diagnostics not depend on the source of what they reference being available r? `@estebank` follow up to rust-lang#104449
Configuration menu - View commit details
-
Copy full SHA for 15b9e20 - Browse repository at this point
Copy the full SHA 15b9e20View commit details -
Rollup merge of rust-lang#105628 - spastorino:small-doc-fixes, r=comp…
…iler-errors Small doc fixes r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 1c86de2 - Browse repository at this point
Copy the full SHA 1c86de2View commit details -
Rollup merge of rust-lang#105659 - JakobDegen:storage-live-borrow, r=…
…davidtwco Don't require owned data in `MaybeStorageLive` Small improvement that avoids a clone. I don't expect this to have any noticeable perf effects, but better to have it than not to. r? ``@tmiasko``
Configuration menu - View commit details
-
Copy full SHA for e0e9f3a - Browse repository at this point
Copy the full SHA e0e9f3aView commit details