-
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 8 pull requests #121142
Rollup of 8 pull requests #121142
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 57e0dea - Browse repository at this point
Copy the full SHA 57e0deaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4adb3a - Browse repository at this point
Copy the full SHA d4adb3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23c83fa - Browse repository at this point
Copy the full SHA 23c83faView commit details -
Configuration menu - View commit details
-
Copy full SHA for d63384d - Browse repository at this point
Copy the full SHA d63384dView commit details -
Configuration menu - View commit details
-
Copy full SHA for eebc720 - Browse repository at this point
Copy the full SHA eebc720View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdbbf04 - Browse repository at this point
Copy the full SHA bdbbf04View commit details
Commits on Jan 30, 2024
-
Fix BTreeMap's Cursor::remove_{next,prev}
These would incorrectly leave `current` as `None` after a failed attempt to remove an element (due to the cursor already being at the start/end).
Configuration menu - View commit details
-
Copy full SHA for adb7607 - Browse repository at this point
Copy the full SHA adb7607View commit details
Commits on Feb 9, 2024
-
std::thread update freebsd stack guard handling.
up to now, it had been assumed the stack guard setting default is not touched in the field but some user might just want to disable it or increase it. checking it once at runtime should be enough.
Configuration menu - View commit details
-
Copy full SHA for 6686ca0 - Browse repository at this point
Copy the full SHA 6686ca0View commit details
Commits on Feb 14, 2024
-
Implicitly enable evex512 if avx512 is enabled
LLVM 18 requires the evex512 feature to allow use of zmm registers. LLVM automatically sets it when using a generic CPU, but not when `-C target-cpu` is specified. This will result either in backend legalization crashes, or code unexpectedly using ymm instead of zmm registers. For now, make sure that `avx512*` features imply `evex512`. Long term we'll probably have to deal with the AVX10 mess somehow.
Configuration menu - View commit details
-
Copy full SHA for 369fff6 - Browse repository at this point
Copy the full SHA 369fff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddec8c5 - Browse repository at this point
Copy the full SHA ddec8c5View commit details -
Fix msg for verbose suggestions with confusable capitalization
When encountering a verbose/multipart suggestion that has changes that are only caused by different capitalization of ASCII letters that have little differenciation, expand the message to highlight that fact (like we already do for inline suggestions). The logic to do this was already present, but implemented incorrectly.
Configuration menu - View commit details
-
Copy full SHA for 8d4d572 - Browse repository at this point
Copy the full SHA 8d4d572View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1bb352 - Browse repository at this point
Copy the full SHA c1bb352View commit details
Commits on Feb 15, 2024
-
`cook_lexer_literal` can emit an error about an invalid int literal but then return a non-`Err` token. And then `integer_lit` has to account for this to avoid printing a redundant error message. This commit changes `cook_lexer_literal` to return `Err` in that case. Then `integer_lit` doesn't need the special case, and `LitError::LexerError` can be removed.
Configuration menu - View commit details
-
Copy full SHA for 8b35f8e - Browse repository at this point
Copy the full SHA 8b35f8eView commit details -
Make
report_lit_error
returnErrorGuaranteed
.This will be helpful for subsequent commits.
Configuration menu - View commit details
-
Copy full SHA for a513bb2 - Browse repository at this point
Copy the full SHA a513bb2View commit details -
Make
emit_unescape_error
returnOption<ErrorGuaranteed>
.And use the result in `cook_common` to decide whether to return an error token.
Configuration menu - View commit details
-
Copy full SHA for 332c577 - Browse repository at this point
Copy the full SHA 332c577View commit details -
Add
ErrorGuaranteed
toast::LitKind::Err
,token::LitKind::Err
.This mostly works well, and eliminates a couple of delayed bugs. One annoying thing is that we should really also add an `ErrorGuaranteed` to `proc_macro::bridge::LitKind::Err`. But that's difficult because `proc_macro` doesn't have access to `ErrorGuaranteed`, so we have to fake it.
Configuration menu - View commit details
-
Copy full SHA for 25ed6e4 - Browse repository at this point
Copy the full SHA 25ed6e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac47f6c - Browse repository at this point
Copy the full SHA ac47f6cView commit details -
Rollup merge of rust-lang#120449 - udoprog:document-unsized-rc-arc-fr…
…om-raw, r=m-ou-se Document requirements for unsized {Rc,Arc}::from_raw This seems to be implied due to these types supporting operation-less unsized coercions. Taken together with the [established behavior of a wide to thin pointer cast](rust-lang/reference#1451) it would enable unsafe downcasting of these containers. Note that the term "data pointer" is adopted from rust-lang/rfcs#3559 See also this [internals thread](https://internals.rust-lang.org/t/can-unsafe-smart-pointer-downcasts-be-correct/20229/2).
Configuration menu - View commit details
-
Copy full SHA for 9fdab38 - Browse repository at this point
Copy the full SHA 9fdab38View commit details -
Rollup merge of rust-lang#120505 - Amanieu:fix-btreemap-cursor-remove…
…, r=m-ou-se Fix BTreeMap's Cursor::remove_{next,prev} These would incorrectly leave `current` as `None` after a failed attempt to remove an element (due to the cursor already being at the start/end).
Configuration menu - View commit details
-
Copy full SHA for 472c820 - Browse repository at this point
Copy the full SHA 472c820View commit details -
Rollup merge of rust-lang#120672 - devnexen:update_thread_stack_guard…
…pages_fbsd, r=m-ou-se std::thread update freebsd stack guard handling. up to now, it had been assumed the stack guard setting default is not touched in the field but some user might just want to disable it or increase it. checking it once at runtime should be enough.
Configuration menu - View commit details
-
Copy full SHA for bf323ba - Browse repository at this point
Copy the full SHA bf323baView commit details -
Rollup merge of rust-lang#121088 - nikic:evex512, r=Amanieu
Implicitly enable evex512 if avx512 is enabled LLVM 18 requires the evex512 feature to allow use of zmm registers. LLVM automatically sets it when using a generic CPU, but not when `-C target-cpu` is specified. This will result either in backend legalization crashes, or code unexpectedly using ymm instead of zmm registers. For now, make sure that `avx512*` features imply `evex512`. Long term we'll probably have to deal with the AVX10 mess somehow. Fixes rust-lang#121081. r? `@Amanieu`
Configuration menu - View commit details
-
Copy full SHA for 7d6c99d - Browse repository at this point
Copy the full SHA 7d6c99dView commit details -
Rollup merge of rust-lang#121104 - Urgau:bigger_layout-fix-fp, r=comp…
…iler-errors Ignore unsized types when trying to determine the size of the original type Fixes rust-lang#121074 a regression from rust-lang#118983
Configuration menu - View commit details
-
Copy full SHA for 12d70af - Browse repository at this point
Copy the full SHA 12d70afView commit details -
Rollup merge of rust-lang#121107 - estebank:capitalization-suggestion…
…, r=michaelwoerister Fix msg for verbose suggestions with confusable capitalization When encountering a verbose/multipart suggestion that has changes that are only caused by different capitalization of ASCII letters that have little differenciation, expand the message to highlight that fact (like we already do for inline suggestions). The logic to do this was already present, but implemented incorrectly.
Configuration menu - View commit details
-
Copy full SHA for 3c87054 - Browse repository at this point
Copy the full SHA 3c87054View commit details -
Rollup merge of rust-lang#121113 - oli-obk:track_errors10, r=compiler…
…-errors Continue compilation even if inherent impl checks fail We should not be hiding errors behind unrelated errors
Configuration menu - View commit details
-
Copy full SHA for e878439 - Browse repository at this point
Copy the full SHA e878439View commit details -
Rollup merge of rust-lang#121120 - nnethercote:LitKind-Err-guar, r=fm…
…ease Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`. Similar to recent work doing the same for `ExprKind::Err` (rust-lang#120586) and `TyKind::Err` (rust-lang#121109). r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 06f53dd - Browse repository at this point
Copy the full SHA 06f53ddView commit details