-
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 10 pull requests #122735
Rollup of 10 pull requests #122735
Commits on Mar 15, 2024
-
Don't trigger
unused_qualifications
on global paths# Conflicts: # tests/ui/lint/lint-qualification.stderr
Configuration menu - View commit details
-
Copy full SHA for 85bad8d - Browse repository at this point
Copy the full SHA 85bad8dView commit details
Commits on Mar 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 52a1125 - Browse repository at this point
Copy the full SHA 52a1125View commit details
Commits on Mar 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bc5aeb1 - Browse repository at this point
Copy the full SHA bc5aeb1View commit details
Commits on Mar 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 935842b - Browse repository at this point
Copy the full SHA 935842bView commit details -
Fix ICE:
global_asm!()
Don't Panic When Unable to Evaluate ConstantA bit of an inelegant fix but given that the error is created only after call to `const_eval_poly()` and that the calling function cannot propagate the error anywhere else, the error has to be explicitly handled inside `mono_item.rs`.
Configuration menu - View commit details
-
Copy full SHA for 97cc700 - Browse repository at this point
Copy the full SHA 97cc700View commit details
Commits on Mar 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3948210 - Browse repository at this point
Copy the full SHA 3948210View commit details -
Fix incorrect mutable suggestion information for binding in ref pattern.
For ref pattern in func param, the mutability suggestion has to apply to the binding. For example: `fn foo(&x: &i32)` -> `fn foo(&(mut x): &i32)` fixes rust-lang#122415
Configuration menu - View commit details
-
Copy full SHA for 19f72df - Browse repository at this point
Copy the full SHA 19f72dfView commit details -
Ensure stack before parsing dot-or-call
There are many cases where, due to codegen or a massively unruly codebase, a deeply nested call(call(call(call(call(call(call(call(call(f()))))))))) can happen. This is a spot where it would be good to grow our stack, so that we can survive to tell the programmer their code is dubiously written.
Configuration menu - View commit details
-
Copy full SHA for cdeb170 - Browse repository at this point
Copy the full SHA cdeb170View commit details -
The AssocOpaqueTy HIR node is not actually needed to differentiate fr…
…om other hir nodes that were fed
Configuration menu - View commit details
-
Copy full SHA for bdb682e - Browse repository at this point
Copy the full SHA bdb682eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a370ed7 - Browse repository at this point
Copy the full SHA a370ed7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a09680 - Browse repository at this point
Copy the full SHA 3a09680View commit details -
Change only_local to enum type and change the macros to always requir…
…e a variant of that enum.
Configuration menu - View commit details
-
Copy full SHA for db48dfc - Browse repository at this point
Copy the full SHA db48dfcView commit details -
add test for casting pointer to union with unsized tail
Lukas Markeffsky committedMar 19, 2024 Configuration menu - View commit details
-
Copy full SHA for 7b21c1a - Browse repository at this point
Copy the full SHA 7b21c1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9de0921 - Browse repository at this point
Copy the full SHA 9de0921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c95d76 - Browse repository at this point
Copy the full SHA 4c95d76View commit details -
compiletest: Add support for
//@ aux-bin: foo.rs
Which enables ui tests to use auxiliary binaries. See the added self-test for an example.
Configuration menu - View commit details
-
Copy full SHA for 3a5eb35 - Browse repository at this point
Copy the full SHA 3a5eb35View commit details -
Rollup merge of rust-lang#122435 - jieyouxu:unused_qualifications_glo…
…bal_paths, r=petrochenkov Don't trigger `unused_qualifications` on global paths Fixes rust-lang#122374.
Configuration menu - View commit details
-
Copy full SHA for 489c2e9 - Browse repository at this point
Copy the full SHA 489c2e9View commit details -
Rollup merge of rust-lang#122556 - jieyouxu:non-identifier-format-arg…
…, r=petrochenkov Extend format arg help for simple tuple index access expression The help is only applicable for simple field access `a.b` and (with this PR) simple tuple index access expressions `a.0`. Closes rust-lang#122535.
Configuration menu - View commit details
-
Copy full SHA for 45e005d - Browse repository at this point
Copy the full SHA 45e005dView commit details -
Rollup merge of rust-lang#122634 - Enselic:aux-bin, r=oli-obk
compiletest: Add support for `//@ aux-bin: foo.rs` Which enables ui tests to use auxiliary binaries. See the added self-test for an example. This is an enabler for the test in rust-lang#121573.
Configuration menu - View commit details
-
Copy full SHA for 42dec6f - Browse repository at this point
Copy the full SHA 42dec6fView commit details -
Rollup merge of rust-lang#122677 - surechen:fix_122415, r=Nadrieril
Fix incorrect mutable suggestion information for binding in ref pattern. For ref pattern in func param, the mutability suggestion has to apply to the binding. For example: `fn foo(&x: &i32)` -> `fn foo(&(mut x): &i32)` fixes rust-lang#122415
Configuration menu - View commit details
-
Copy full SHA for 17386b8 - Browse repository at this point
Copy the full SHA 17386b8View commit details -
Rollup merge of rust-lang#122691 - veera-sivarajan:bugfix-121099, r=A…
…manieu Fix ICE: `global_asm!()` Don't Panic When Unable to Evaluate Constant Fixes rust-lang#121099 A bit of an inelegant fix but given that the error is created only after call to `const_eval_poly()` and that the calling function cannot propagate the error anywhere else, the error has to be explicitly handled inside `mono_item.rs`. r? `@Amanieu`
Configuration menu - View commit details
-
Copy full SHA for 2ad2492 - Browse repository at this point
Copy the full SHA 2ad2492View commit details -
Rollup merge of rust-lang#122695 - surechen:make_only_local_explict_a…
…rgument, r=lcnr Change only_local to a enum type. Change only_local to enum type and change the macros to always require a variant of that enum. r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for ea7ea2d - Browse repository at this point
Copy the full SHA ea7ea2dView commit details -
Rollup merge of rust-lang#122717 - workingjubilee:handle-call-call-ca…
…ll-call-calling-me-maybe, r=compiler-errors Ensure stack before parsing dot-or-call There are many cases where, due to codegen or a massively unruly codebase, a deeply nested `call(call(call(call(call(call(call(call(call(f())))))))))` can happen. This is a spot where it would be good to grow our stack, so that we can survive to tell the programmer their code is dubiously written. Closes rust-lang#122715
Configuration menu - View commit details
-
Copy full SHA for 6561890 - Browse repository at this point
Copy the full SHA 6561890View commit details -
Rollup merge of rust-lang#122719 - oli-obk:nested_static_feed_hir, r=…
…fee1-dead Ensure nested statics have a HIR node to prevent various queries from ICEing fixes rust-lang/miri#3389
Configuration menu - View commit details
-
Copy full SHA for 671a2f7 - Browse repository at this point
Copy the full SHA 671a2f7View commit details -
Rollup merge of rust-lang#122720 - heisen-li:offset_of, r=workingjubilee
[doc]:fix error code example fixs rust-lang#122716
Configuration menu - View commit details
-
Copy full SHA for f773124 - Browse repository at this point
Copy the full SHA f773124View commit details -
Rollup merge of rust-lang#122724 - lukas-code:unsized-union-cast-ice-…
…test, r=compiler-errors add test for casting pointer to union with unsized tail closes rust-lang#122581
Configuration menu - View commit details
-
Copy full SHA for 433449a - Browse repository at this point
Copy the full SHA 433449aView commit details