-
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 #132094
Rollup of 10 pull requests #132094
Commits on Oct 2, 2024
-
Fix target_vendor in QNX Neutrino targets
The `x86_64-pc-nto-qnx710` and `i586-pc-nto-qnx700` targets have `pc` in their target triple names, but the vendor was set to the default `"unknown"`.
Configuration menu - View commit details
-
Copy full SHA for 7a3a98d - Browse repository at this point
Copy the full SHA 7a3a98dView commit details
Commits on Oct 18, 2024
-
clean up
*dyn
casts (with principals)- remove a redundant check, because we always emit the "better diagnostic" now - clean up the comments a bit
Lukas Markeffsky committedOct 18, 2024 Configuration menu - View commit details
-
Copy full SHA for b89751b - Browse repository at this point
Copy the full SHA b89751bView commit details
Commits on Oct 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ab4222a - Browse repository at this point
Copy the full SHA ab4222aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98c4d96 - Browse repository at this point
Copy the full SHA 98c4d96View commit details
Commits on Oct 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d1bf77e - Browse repository at this point
Copy the full SHA d1bf77eView commit details -
elaborate why dropping principal in
*dyn
casts is non-trivialLukas Markeffsky committedOct 20, 2024 Configuration menu - View commit details
-
Copy full SHA for 46cc5e9 - Browse repository at this point
Copy the full SHA 46cc5e9View commit details
Commits on Oct 22, 2024
-
Rename Receiver -> LegacyReceiver
As part of the "arbitrary self types v2" project, we are going to replace the current `Receiver` trait with a new mechanism based on a new, different `Receiver` trait. This PR renames the old trait to get it out the way. Naming is hard. Options considered included: * HardCodedReceiver (because it should only be used for things in the standard library, and hence is sort-of hard coded) * LegacyReceiver * TargetLessReceiver * OldReceiver These are all bad names, but fortunately this will be temporary. Assuming the new mechanism proceeds to stabilization as intended, the legacy trait will be removed altogether. Although we expect this trait to be used only in the standard library, we suspect it may be in use elsehwere, so we're landing this change separately to identify any surprising breakages. It's known that this trait is used within the Rust for Linux project; a patch is in progress to remove their dependency. This is a part of the arbitrary self types v2 project, rust-lang/rfcs#3519 rust-lang#44874 r? @wesleywiser
Configuration menu - View commit details
-
Copy full SHA for 8f85b90 - Browse repository at this point
Copy the full SHA 8f85b90View commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0304809 - Browse repository at this point
Copy the full SHA 0304809View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e3091d - Browse repository at this point
Copy the full SHA 2e3091dView commit details -
fix a couple clippy:complexitys
double_parens filter_map_identity needless_question_mark redundant_guards
Configuration menu - View commit details
-
Copy full SHA for dab76ec - Browse repository at this point
Copy the full SHA dab76ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 464f405 - Browse repository at this point
Copy the full SHA 464f405View commit details -
Configuration menu - View commit details
-
Copy full SHA for d84d659 - Browse repository at this point
Copy the full SHA d84d659View commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4e1b3ab - Browse repository at this point
Copy the full SHA 4e1b3abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1920c66 - Browse repository at this point
Copy the full SHA 1920c66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4217b87 - Browse repository at this point
Copy the full SHA 4217b87View commit details -
Rollup merge of rust-lang#130225 - adetaylor:rename-old-receiver, r=w…
…esleywiser Rename Receiver -> LegacyReceiver As part of the "arbitrary self types v2" project, we are going to replace the current `Receiver` trait with a new mechanism based on a new, different `Receiver` trait. This PR renames the old trait to get it out the way. Naming is hard. Options considered included: * HardCodedReceiver (because it should only be used for things in the standard library, and hence is sort-of hard coded) * LegacyReceiver * TargetLessReceiver * OldReceiver These are all bad names, but fortunately this will be temporary. Assuming the new mechanism proceeds to stabilization as intended, the legacy trait will be removed altogether. Although we expect this trait to be used only in the standard library, we suspect it may be in use elsehwere, so we're landing this change separately to identify any surprising breakages. It's known that this trait is used within the Rust for Linux project; a patch is in progress to remove their dependency. This is a part of the arbitrary self types v2 project, rust-lang/rfcs#3519 rust-lang#44874 r? `@wesleywiser`
Configuration menu - View commit details
-
Copy full SHA for 9c73bcf - Browse repository at this point
Copy the full SHA 9c73bcfView commit details -
Rollup merge of rust-lang#131169 - madsmtm:target-info-nto-vendor, r=…
…wesleywiser Fix `target_vendor` in QNX Neutrino targets The `x86_64-pc-nto-qnx710` and `i586-pc-nto-qnx700` targets have `pc` in their target triple names, but the vendor was set to the default `"unknown"`. CC target maintainers `@flba-eb,` `@gh-tr,` `@jonathanpallant` and `@japaric`
Configuration menu - View commit details
-
Copy full SHA for 40d7872 - Browse repository at this point
Copy the full SHA 40d7872View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77f2c57 - Browse repository at this point
Copy the full SHA 77f2c57View commit details -
Rollup merge of rust-lang#131756 - compiler-errors:deeply-normalize-t…
…ype-err, r=lcnr Deeply normalize `TypeTrace` when reporting type error in new solver Normalize the values that come from the `TypeTrace` for various type mismatches. Side-note: We can't normalize the `TypeError` itself bc it may come from instantiated binders, so it may reference values from within the probe... r? lcnr
Configuration menu - View commit details
-
Copy full SHA for ad43be3 - Browse repository at this point
Copy the full SHA ad43be3View commit details -
Rollup merge of rust-lang#131898 - lukas-code:ptr-cast-cleanup, r=com…
…piler-errors minor `*dyn` cast cleanup Small follow-up to rust-lang#130234 to remove a redundant check and clean up comments. No functional changes. Also, explain why casts cannot drop the principal even though coercions can, and add a test because apparently we didn't have one already. r? `@WaffleLapkin` or `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 4c0bab3 - Browse repository at this point
Copy the full SHA 4c0bab3View commit details -
Rollup merge of rust-lang#131909 - clubby789:enum-overflow-cast, r=co…
…mpiler-errors Prevent overflowing enum cast from ICEing Fixes rust-lang#131902
Configuration menu - View commit details
-
Copy full SHA for 4b02d64 - Browse repository at this point
Copy the full SHA 4b02d64View commit details -
Rollup merge of rust-lang#131930 - clubby789:revision-cfg-collide, r=…
…jieyouxu Don't allow test revisions that conflict with built in cfgs Fixes rust-lang#128964 Sorry `@heysujal` I started working on this about 1 minute before your comment by complete coincidence 😅
Configuration menu - View commit details
-
Copy full SHA for f7f411d - Browse repository at this point
Copy the full SHA f7f411dView commit details -
Rollup merge of rust-lang#131956 - Zalathar:llvm-counters, r=compiler…
…-errors,Swatinem coverage: Pass coverage mappings to LLVM as separate structs Instead of trying to cram *N* different kinds of coverage mapping data into a single list for FFI, pass *N* different lists of simpler structs. This avoids the need to fill unused fields with dummy values, and avoids the need to tag structs with their underlying kind. It also lets us call the dedicated LLVM constructors for each different mapping type, instead of having to go through the complex general-purpose constructor. Even though this adds multiple new structs to the FFI surface area, the resulting C++ code is simpler and shorter. --- I've structured this mostly as a single atomic patch, rather than a series of incremental changes, because that avoids the need to make fiddly fixes to code that is about to be deleted anyway.
Configuration menu - View commit details
-
Copy full SHA for 8f354fc - Browse repository at this point
Copy the full SHA 8f354fcView commit details -
Rollup merge of rust-lang#132076 - RalfJung:feature-hashing, r=nnethe…
…rcote,Mark-Simulacrum HashStable for rustc_feature::Features: stop hashing compile-time constant It seems like back in rust-lang@542bc75 this was added as "hash the boolean value of each lang feature", but then in rust-lang@1487bd6 this got split into first hashing a sequence of `bool`s (representing all the features) and then hashing all the feature names... but the list of feature names is a compile-time constant, so it seems entirely unnecessary to hash them? Cc `@Mark-Simulacrum` who wrote the second of the commits mentioned above. Cc `@nnethercote`
Configuration menu - View commit details
-
Copy full SHA for 006a142 - Browse repository at this point
Copy the full SHA 006a142View commit details -
Rollup merge of rust-lang#132088 - compiler-errors:extern-static, r=j…
…ieyouxu Print safety correctly in extern static items Fixes rust-lang#132080 r? spastorino or anyone really
Configuration menu - View commit details
-
Copy full SHA for 7e2bbc3 - Browse repository at this point
Copy the full SHA 7e2bbc3View commit details