-
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 7 pull requests #117402
Rollup of 7 pull requests #117402
Commits on Oct 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 351d532 - Browse repository at this point
Copy the full SHA 351d532View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04fa124 - Browse repository at this point
Copy the full SHA 04fa124View commit details
Commits on Oct 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 552abdc - Browse repository at this point
Copy the full SHA 552abdcView commit details
Commits on Oct 30, 2023
-
Fix: Write access check of `prefix` and `sysconfdir` when DESTDIR is present. Improvement: Instead of repeatedly reading `DESTDIR` within each `fn prepare_dir` usage, read it once and pass it to the `fn prepare_dir`. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 4b14048 - Browse repository at this point
Copy the full SHA 4b14048View commit details -
Configuration menu - View commit details
-
Copy full SHA for 745c600 - Browse repository at this point
Copy the full SHA 745c600View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc926f7 - Browse repository at this point
Copy the full SHA bc926f7View commit details -
Fix missing leading space in suggestion
For a local pattern with no space between `let` and `(` e.g.: let(_a) = 3; we were previously suggesting this illegal code: let_a =3; After this change the suggestion will instead be: let _a =3; (Note the space after `let`)
Configuration menu - View commit details
-
Copy full SHA for a2486db - Browse repository at this point
Copy the full SHA a2486dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f34fd - Browse repository at this point
Copy the full SHA 82f34fdView commit details -
Fix bad-c-variadic error being emitted multiple times
If a function incorrectly contains multiple `...` args, and is also not foreign or `unsafe extern "C"`, only emit the latter error once.
Configuration menu - View commit details
-
Copy full SHA for 8508e65 - Browse repository at this point
Copy the full SHA 8508e65View commit details -
Explicitly reject const C-variadic functions
Trying to use C-variadics in a const function would previously fail with an error like "destructor of `VaListImpl<'_>` cannot be evaluated at compile-time". Add an explicit check for const C-variadics to provide a clearer error: "functions cannot be both `const` and C-variadic".
Configuration menu - View commit details
-
Copy full SHA for f91b5ce - Browse repository at this point
Copy the full SHA f91b5ceView commit details -
Rollup merge of rust-lang#117317 - RalfJung:track-caller, r=oli-obk
share some track_caller logic between interpret and codegen Also move the code that implements the track_caller intrinsics out of the core interpreter engine -- it's just a helper creating a const-allocation, doesn't need to be part of the interpreter core.
Configuration menu - View commit details
-
Copy full SHA for 643bb65 - Browse repository at this point
Copy the full SHA 643bb65View commit details -
Rollup merge of rust-lang#117357 - tmiasko:terminate, r=wesleywiser
Rename a few remaining references to abort terminator Follow up to e3f2edc
Configuration menu - View commit details
-
Copy full SHA for d992ad8 - Browse repository at this point
Copy the full SHA d992ad8View commit details -
Rollup merge of rust-lang#117370 - nicholasbishop:bishop-better-c-var…
…iadic-errors, r=oli-obk C-variadic error improvements A couple improvements for c-variadic errors: 1. Fix the bad-c-variadic error being emitted multiple times. If a function incorrectly contains multiple `...` args, and is also not foreign or `unsafe extern "C"`, only emit the latter error once rather than once per `...`. 2. Explicitly reject `const` C-variadic functions. Trying to use C-variadics in a const function would previously fail with an error like "destructor of `VaListImpl<'_>` cannot be evaluated at compile-time". Add an explicit check for const C-variadics to provide a clearer error: "functions cannot be both `const` and C-variadic". This also addresses one of the concerns in rust-lang#44930: "Ensure that even when this gets stabilized for regular functions, it is still rejected on const fn."
Configuration menu - View commit details
-
Copy full SHA for b1fa59a - Browse repository at this point
Copy the full SHA b1fa59aView commit details -
Rollup merge of rust-lang#117383 - onur-ozkan:fix-x-install, r=albert…
…larsan68 improve and fix `x install` Fix: Write access check of `prefix` and `sysconfdir` when DESTDIR is present. Improvement: Instead of repeatedly reading `DESTDIR` within each `fn prepare_dir` usage, read it once and pass it to the `fn prepare_dir`. Fixes rust-lang#117203
Configuration menu - View commit details
-
Copy full SHA for c23fa2d - Browse repository at this point
Copy the full SHA c23fa2dView commit details -
Rollup merge of rust-lang#117389 - oli-obk:gen_fn, r=compiler-errors
Some diagnostics improvements of `gen` blocks These are leftovers from rust-lang#116447
Configuration menu - View commit details
-
Copy full SHA for 309bf69 - Browse repository at this point
Copy the full SHA 309bf69View commit details -
Rollup merge of rust-lang#117390 - chenyukang:yukang-fix-117284-unuse…
…d-macro, r=estebank Fix unused variables lint issue for args in macro Fixes rust-lang#117284 r? ``@estebank``
Configuration menu - View commit details
-
Copy full SHA for 5a36c7e - Browse repository at this point
Copy the full SHA 5a36c7eView commit details -
Rollup merge of rust-lang#117395 - gurry:117380-wrong-parent-sugg, r=…
…Nilstrieb Fix missing leading space in suggestion For a local pattern with no space between `let` and `(` e.g.: ```rust let(_a) = 3; ``` we were previously suggesting this illegal code: ```rust let_a = 3; ``` After this change the suggestion will instead be: ```rust let _a = 3; ``` Fixes rust-lang#117380
Configuration menu - View commit details
-
Copy full SHA for c6c15d8 - Browse repository at this point
Copy the full SHA c6c15d8View commit details