-
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 #122959
Rollup of 8 pull requests #122959
Commits on Mar 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d3299af - Browse repository at this point
Copy the full SHA d3299afView commit details
Commits on Mar 17, 2024
-
Handle str literals written with
'
lexed as lifetimeGiven `'hello world'` and `'1 str', provide a structured suggestion for a valid string literal: ``` error[E0762]: unterminated character literal --> $DIR/lex-bad-str-literal-as-char-3.rs:2:26 | LL | println!('hello world'); | ^^^^ | help: if you meant to write a `str` literal, use double quotes | LL | println!("hello world"); | ~ ~ ``` ``` error[E0762]: unterminated character literal --> $DIR/lex-bad-str-literal-as-char-1.rs:2:20 | LL | println!('1 + 1'); | ^^^^ | help: if you meant to write a `str` literal, use double quotes | LL | println!("1 + 1"); | ~ ~ ``` Fix rust-lang#119685.
Configuration menu - View commit details
-
Copy full SHA for 982918f - Browse repository at this point
Copy the full SHA 982918fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a10b01 - Browse repository at this point
Copy the full SHA 4a10b01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 999a0dc - Browse repository at this point
Copy the full SHA 999a0dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f388ef - Browse repository at this point
Copy the full SHA 6f388efView commit details -
Silence redundant error on char literal that was meant to be a string…
… in 2021 edition
Configuration menu - View commit details
-
Copy full SHA for ea1883d - Browse repository at this point
Copy the full SHA ea1883dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d30b1 - Browse repository at this point
Copy the full SHA f4d30b1View commit details
Commits on Mar 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f4adb1e - Browse repository at this point
Copy the full SHA f4adb1eView commit details
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2624e91 - Browse repository at this point
Copy the full SHA 2624e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbf21c5 - Browse repository at this point
Copy the full SHA fbf21c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fcf2ea - Browse repository at this point
Copy the full SHA 1fcf2eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for da8a39a - Browse repository at this point
Copy the full SHA da8a39aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78ebb93 - Browse repository at this point
Copy the full SHA 78ebb93View commit details
Commits on Mar 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 12e3629 - Browse repository at this point
Copy the full SHA 12e3629View commit details -
add test for opaque type with non-universal region substs rust-lang#1…
…01852 Fixes rust-lang#101852
Configuration menu - View commit details
-
Copy full SHA for 2f9a240 - Browse repository at this point
Copy the full SHA 2f9a240View commit details -
add test for rust-lang#104779 opaque types, patterns and subtyping IC…
…E: IndexMap: key not found Fixes rust-lang#104779
Configuration menu - View commit details
-
Copy full SHA for e54bff7 - Browse repository at this point
Copy the full SHA e54bff7View commit details -
add test for ICE "raw ptr comparison should already be caught in the …
…trait system" rust-lang#105047 Fixes rust-lang#105047
Configuration menu - View commit details
-
Copy full SHA for f1f287f - Browse repository at this point
Copy the full SHA f1f287fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8aeac8 - Browse repository at this point
Copy the full SHA f8aeac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc422ce - Browse repository at this point
Copy the full SHA cc422ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2bc9c5 - Browse repository at this point
Copy the full SHA f2bc9c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 368bfb2 - Browse repository at this point
Copy the full SHA 368bfb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aea37d - Browse repository at this point
Copy the full SHA 9aea37dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 246f746 - Browse repository at this point
Copy the full SHA 246f746View commit details -
Configuration menu - View commit details
-
Copy full SHA for 188c46a - Browse repository at this point
Copy the full SHA 188c46aView commit details -
Rollup merge of rust-lang#116016 - jhpratt:kill-rustc-serialize, r=dt…
…olnay Soft-destabilize `RustcEncodable` & `RustcDecodable`, remove from prelude in next edition cc rust-lang/libs-team#272 Any use of `RustcEncodable` and `RustcDecodable` now triggers a deny-by-default lint. The derives have been removed from the 2024 prelude. I specifically chose **not** to document this in the module-level documentation, as the presence in existing preludes is not documented (which I presume is intentional). This does not implement the proposed change for `rustfix`, which I will be looking into shortly. With regard to the items in the preludes being stable, this should not be an issue because rust-lang#15702 has been resolved. r? libs-api
Configuration menu - View commit details
-
Copy full SHA for d959730 - Browse repository at this point
Copy the full SHA d959730View commit details -
Rollup merge of rust-lang#121281 - kadiwa4:test_103626, r=estebank,lcnr
regression test for rust-lang#103626 I don't know what a descriptive filename for this would be. Fixes rust-lang#103626
Configuration menu - View commit details
-
Copy full SHA for e07a5aa - Browse repository at this point
Copy the full SHA e07a5aaView commit details -
Rollup merge of rust-lang#122168 - compiler-errors:inline-coroutine-b…
…ody-validation, r=cjgillot Fix validation on substituted callee bodies in MIR inliner When inlining a coroutine, we will substitute the MIR body with the args of the call. There is code in the MIR validator that attempts to prevent query cycles, and will use the coroutine body directly when it detects that's the body that's being validated. That means that when inlining a coroutine body that has been substituted, it may no longer be parameterized over the original args of the coroutine, which will lead to substitution ICEs. Fixes rust-lang#119064
Configuration menu - View commit details
-
Copy full SHA for d0e27af - Browse repository at this point
Copy the full SHA d0e27afView commit details -
Rollup merge of rust-lang#122217 - estebank:issue-119685, r=fmease
Handle str literals written with `'` lexed as lifetime Given `'hello world'` and `'1 str', provide a structured suggestion for a valid string literal: ``` error[E0762]: unterminated character literal --> $DIR/lex-bad-str-literal-as-char-3.rs:2:26 | LL | println!('hello world'); | ^^^^ | help: if you meant to write a `str` literal, use double quotes | LL | println!("hello world"); | ~ ~ ``` ``` error[E0762]: unterminated character literal --> $DIR/lex-bad-str-literal-as-char-1.rs:2:20 | LL | println!('1 + 1'); | ^^^^ | help: if you meant to write a `str` literal, use double quotes | LL | println!("1 + 1"); | ~ ~ ``` Fix rust-lang#119685.
Configuration menu - View commit details
-
Copy full SHA for 08bb35e - Browse repository at this point
Copy the full SHA 08bb35eView commit details -
Rollup merge of rust-lang#122379 - RalfJung:int2ptr-transmute, r=m-ou-se
transmute: caution against int2ptr transmutation This came up in rust-lang#121282. Cc ``@saethlin`` ``@scottmcm`` Eventually we'll add a proper description of provenance that we can reference, but that's a bunch of work and it's unclear who will have the time to do that when. Meanwhile, let's at least do what we can without mentioning provenance explicitly.
Configuration menu - View commit details
-
Copy full SHA for f68a0f1 - Browse repository at this point
Copy the full SHA f68a0f1View commit details -
Rollup merge of rust-lang#122907 - compiler-errors:uniquify-reerror, …
…r=lcnr Uniquify `ReError` on input mode in canonicalizer See test descr Fixes rust-lang#122861 r? lcnr
Configuration menu - View commit details
-
Copy full SHA for 88574e1 - Browse repository at this point
Copy the full SHA 88574e1View commit details -
Rollup merge of rust-lang#122942 - Luv-Ray:master, r=lcnr
Add test in higher ranked subtype I'm a beginner in this repository, and there are some things I'm not sure about: - Is it okay that there is a warning: ``` rustc_infer::infer::relate::generalize may incompletely handle alias type: AliasTy { args: [?1t, '^0.Named(DefId(0:15 ~ structually_relate_aliases[de75]::{impl#1}::'a), "'a")], def_id: DefId(0:5 ~ structually_relate_aliases[de75]::ToUnit::Unit) } ``` - Is it okay that there are two duplicate errors in the same line? - Did I put the test in the right place? Any suggestions would be appreciated. Fixes rust-lang#121649
Configuration menu - View commit details
-
Copy full SHA for 35310b7 - Browse repository at this point
Copy the full SHA 35310b7View commit details -
Rollup merge of rust-lang#122943 - matthiaskrgr:ice-tests-9xxxx-to-12…
…xxxx, r=fmease add a couple more ice tests Fixes rust-lang#104779 Fixes rust-lang#106423 Fixes rust-lang#106444 Fixes rust-lang#101852 Fixes rust-lang#106874 Fixes rust-lang#105047 Fixes rust-lang#107228 Fixes rust-lang#99945
Configuration menu - View commit details
-
Copy full SHA for 5f5362d - Browse repository at this point
Copy the full SHA 5f5362dView commit details