-
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 #122139
Rollup of 10 pull requests #122139
Commits on Mar 4, 2024
-
add test for assoc type mismatch in supertrait
Lukas Markeffsky committedMar 4, 2024 Configuration menu - View commit details
-
Copy full SHA for 6fa58be - Browse repository at this point
Copy the full SHA 6fa58beView commit details -
adjust obligation spans for super projections
Lukas Markeffsky committedMar 4, 2024 Configuration menu - View commit details
-
Copy full SHA for 189e784 - Browse repository at this point
Copy the full SHA 189e784View commit details -
rename
ast_*
tohir_*
in wfcheckLukas Markeffsky committedMar 4, 2024 Configuration menu - View commit details
-
Copy full SHA for 443c816 - Browse repository at this point
Copy the full SHA 443c816View commit details -
suppress fulfillment errors for super projections
Lukas Markeffsky committedMar 4, 2024 Configuration menu - View commit details
-
Copy full SHA for aa55f6d - Browse repository at this point
Copy the full SHA aa55f6dView commit details -
Lukas Markeffsky committed
Mar 4, 2024 Configuration menu - View commit details
-
Copy full SHA for 6bd970d - Browse repository at this point
Copy the full SHA 6bd970dView commit details
Commits on Mar 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f415379 - Browse repository at this point
Copy the full SHA f415379View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e45d0f - Browse repository at this point
Copy the full SHA 8e45d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee1c691 - Browse repository at this point
Copy the full SHA ee1c691View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9891d6a - Browse repository at this point
Copy the full SHA 9891d6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52bc7ce - Browse repository at this point
Copy the full SHA 52bc7ceView commit details
Commits on Mar 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 850cc34 - Browse repository at this point
Copy the full SHA 850cc34View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf9782d - Browse repository at this point
Copy the full SHA bf9782dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a2bc11 - Browse repository at this point
Copy the full SHA 1a2bc11View commit details -
Set
RustcDocs
to only run on host`./x dist` currently crashes when cross compiling. Add the fix described by @catamorphism in rust-lang#110071. Fixes rust-lang#110071
Configuration menu - View commit details
-
Copy full SHA for 9d9e78e - Browse repository at this point
Copy the full SHA 9d9e78eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d35d8 - Browse repository at this point
Copy the full SHA 71d35d8View commit details -
Lukas Markeffsky committed
Mar 7, 2024 Configuration menu - View commit details
-
Copy full SHA for db48b93 - Browse repository at this point
Copy the full SHA db48b93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9669934 - Browse repository at this point
Copy the full SHA 9669934View commit details -
Rollup merge of rust-lang#121863 - lukas-code:silence-mismatched-supe…
…r-projections, r=lcnr silence mismatched types errors for implied projections Currently, if a trait bound is not satisfied, then we suppress any errors for the trait's supertraits not being satisfied, but still report errors for super projections not being satisfied. For example: ```rust trait Super { type Assoc; } trait Sub: Super<Assoc = ()> {} ``` Before this PR, if `T: Sub` is not satisfied, then errors for `T: Super` are suppressed, but errors for `<T as Super>::Assoc == ()` are still shown. This PR makes it so that errors about super projections not being satisfied are also suppressed. The errors are only suppressed if the span of the trait obligation matches the span of the super predicate obligation to avoid silencing error that are not related. This PR removes some differences between the spans of supertraits and super projections to make the suppression work correctly. This PR fixes the majority of the diagnostics fallout when making `Thin` a supertrait of `Sized` (in a future PR). cc rust-lang#120354 (comment) cc `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for 0e37648 - Browse repository at this point
Copy the full SHA 0e37648View commit details -
Rollup merge of rust-lang#122043 - Y-Nak:move-early-binder, r=lcnr
Apply `EarlyBinder` only to `TraitRef` in `ImplTraitHeader` Resolves rust-lang#121852 This PR 1. Moves `EarlyBinder` to `TraitRef` inside `ImplTraitHeader`, 2. Changes visibility of `coherence::builtin::check_trait` to `pub(super)` from `pub` as it seems not being re-exported from the `coherence` module.
Configuration menu - View commit details
-
Copy full SHA for e52c541 - Browse repository at this point
Copy the full SHA e52c541View commit details -
Rollup merge of rust-lang#122066 - mu001999:clean, r=oli-obk
Add proper cfgs for struct HirIdValidator used only with debug-assert See rust-lang#122065 (comment). I think it's due to rust-lang#121752.
Configuration menu - View commit details
-
Copy full SHA for f1fb720 - Browse repository at this point
Copy the full SHA f1fb720View commit details -
Rollup merge of rust-lang#122104 - RalfJung:rust, r=ChrisDenton
Rust is a proper name: rust → Rust I only went over the library where it might be user-visible -- I noticed this in the `time` docs.
Configuration menu - View commit details
-
Copy full SHA for 6b04518 - Browse repository at this point
Copy the full SHA 6b04518View commit details -
Rollup merge of rust-lang#122110 - WaffleLapkin:miri-temp, r=RalfJung
Make `x t miri` respect `MIRI_TEMP` (I don't want to override `TMPDIR`, as that might affect other things) r? ``@RalfJung``
Configuration menu - View commit details
-
Copy full SHA for d7106d2 - Browse repository at this point
Copy the full SHA d7106d2View commit details -
Rollup merge of rust-lang#122114 - saethlin:cant-find-crate-spam, r=W…
…affleLapkin Make not finding core a fatal error Similar to rust-lang#120472, this prevents terminal spam. In particular, it makes the good diagnostic visible when you try to use a target that's not installed.
Configuration menu - View commit details
-
Copy full SHA for 66a062a - Browse repository at this point
Copy the full SHA 66a062aView commit details -
Rollup merge of rust-lang#122115 - clubby789:cancel-recoverr, r=compi…
…ler-errors Cancel parsing ever made during recovery Fixes rust-lang#122112 It would be nice if diagnostics from recovery were automatically cancelled... 🤔
Configuration menu - View commit details
-
Copy full SHA for 9bda4e4 - Browse repository at this point
Copy the full SHA 9bda4e4View commit details -
Rollup merge of rust-lang#122123 - compiler-errors:object-trait-alias…
…-bounds, r=oli-obk Don't require specifying unrelated assoc types when trait alias is in `dyn` type Object types must specify the associated types for all of the principal trait ref's supertraits. However, we weren't doing elaboration properly, so we incorrectly errored with erroneous suggestions to specify associated types that were unrelated to that principal trait ref. To fix this, use proper supertrait elaboration when expanding trait aliases in `conv_object_ty_poly_trait_ref`. **NOTE**: Please use the ignore-whitespace option when reviewing. This only touches a handful of lines. r? oli-obk or please feel free to reassign. Fixes rust-lang#122118
Configuration menu - View commit details
-
Copy full SHA for bb582c6 - Browse repository at this point
Copy the full SHA bb582c6View commit details -
Rollup merge of rust-lang#122126 - workingjubilee:every-os-in-the-wor…
…ld-belongs-to-unix, r=ChrisDenton Fix `tidy --bless` on ̶X̶e̶n̶i̶x̶ Windows As reported in rust-lang#120628 (comment) the requested `tidy --bless` implementation didn't take into account the fact that earlier the linting code canonicalized things to use the OS path separator. This makes it so that the path separator is always rewritten back as '/', which should fix the variance there. r? ``@ChrisDenton``
Configuration menu - View commit details
-
Copy full SHA for d03d9a4 - Browse repository at this point
Copy the full SHA d03d9a4View commit details -
Rollup merge of rust-lang#122129 - tgross35:rustcdocs-host-only, r=on…
…ur-ozkan Set `RustcDocs` to only run on host `./x dist` currently crashes when cross compiling. Add the fix described by `@catamorphism` in rust-lang#110071. Fixes rust-lang#110071
Configuration menu - View commit details
-
Copy full SHA for ce9a6ad - Browse repository at this point
Copy the full SHA ce9a6adView commit details