-
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 9 pull requests #122966
Rollup of 9 pull requests #122966
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 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 -
rustdoc --test
: Prevent reaching the maximum size of command-line b……y using files for arguments if there are too many
Configuration menu - View commit details
-
Copy full SHA for 0d3ef80 - Browse repository at this point
Copy the full SHA 0d3ef80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33735d5 - Browse repository at this point
Copy the full SHA 33735d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86fe400 - Browse repository at this point
Copy the full SHA 86fe400View commit details -
Configuration menu - View commit details
-
Copy full SHA for 773084f - Browse repository at this point
Copy the full SHA 773084fView 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 -
Configuration menu - View commit details
-
Copy full SHA for 5fab016 - Browse repository at this point
Copy the full SHA 5fab016View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc4f169 - Browse repository at this point
Copy the full SHA bc4f169View commit details -
Configuration menu - View commit details
-
Copy full SHA for e74b01e - Browse repository at this point
Copy the full SHA e74b01eView commit details
Commits on Mar 24, 2024
-
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 5167581 - Browse repository at this point
Copy the full SHA 5167581View 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 3d9ee88 - Browse repository at this point
Copy the full SHA 3d9ee88View 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 1164c27 - Browse repository at this point
Copy the full SHA 1164c27View 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 2dcc968 - Browse repository at this point
Copy the full SHA 2dcc968View commit details -
Rollup merge of rust-lang#122840 - GuillaumeGomez:rustdoc-test-too-ma…
…ny-args, r=notriddle,Urgau,jieyouxu `rustdoc --test`: Prevent reaching the maximum size of command-line by using files for arguments if there are too many Fixes rust-lang#122722. Thanks to this I discovered that rust was using ``@`` to add arguments from a file, quite convenient. If there are too many `cfg` arguments given to `rustdoc --test`, it'll now put them into a temporary file and passing it as argument to the rustc command. I added a test with 100_000 `cfg` arguments to ensure it'll not break again. r? `@notrid`
Configuration menu - View commit details
-
Copy full SHA for 73038c0 - Browse repository at this point
Copy the full SHA 73038c0View 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 cb03714 - Browse repository at this point
Copy the full SHA cb03714View 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 d8c2242 - Browse repository at this point
Copy the full SHA d8c2242View 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 2463ad0 - Browse repository at this point
Copy the full SHA 2463ad0View commit details -
Rollup merge of rust-lang#122963 - RalfJung:core-panicking, r=m-ou-se
core/panicking: fix outdated comment Looks like this function got renamed/changed at some point and the comment did not get updated. r? `@m-ou-se`
Configuration menu - View commit details
-
Copy full SHA for 6f16b41 - Browse repository at this point
Copy the full SHA 6f16b41View commit details