stabilize never type - #155499
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment has been minimized.
This comment has been minimized.
|
@bors try |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2895d33 to
3e8df8d
Compare
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🎉 Experiment
Footnotes
|
??? why wasn't this detected by compiletest ???
6f4ed82 to
66d5e72
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
66d5e72 to
fc2e81c
Compare
| | | ||
| LL ~ panic!(); | ||
| LL + let _data: [!; 0] = []; | ||
| | |
There was a problem hiding this comment.
Hmmm I wonder how this changed
There was a problem hiding this comment.
Oh the suggestion was previously not made because ! was unnameable, that is very cool. This suggestion is no longer unfixable so we can move it to the normal zero_repeat_side_effects.rs test
|
Trying commonly failed jobs |
This comment has been minimized.
This comment has been minimized.
stabilize never type try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple-1 try-job: aarch64-apple-2 try-job: x86_64-mingw-1 try-job: i686-msvc-1 try-job: i686-msvc-2
|
☔ The latest upstream changes (presumably #161043) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
| // | ||
| //@ revisions: e2021 e2024 | ||
| //@[e2024] edition: 2024 | ||
| //@ edition: 2018..2024 |
There was a problem hiding this comment.
looks like this test ran on edition 2015, even though the revision name implied (before this change) that 2021 is the lowest edition that is applicable
| @@ -1,5 +1,4 @@ | |||
| //@ revisions: e2015 e2024 | |||
| //@[e2024] edition:2024 | |||
| //@ edition: 2015..2024 | |||
There was a problem hiding this comment.
this test will accidentally be missed when the next edition happens
we can use 2015.. to say all-of-em
View all comments
This PR
!) (!!!)!on all editions (breaking change, see crater report analysis and refresher on never type fallback)Infalliblean alias to!dependency_on_unit_never_type_fallbacklint (there is no more never type fallback to()so this lint can't be triggered)Cat
Tracking
!to a type (RFC 1216) #35121FCPs
!fall back to!#123508 (comment) (stabilization plan, T-lang)Infallible = !#155924 (comment) (makeInfallible = !, T-libs)Related changes
!fall back to!#123748!fall back to!#123508From<!> for T*reservation* impl #160705Experiments
Infallible = !: [experiment][1] mew #155500Infallible = !, and removing reservation impl: [experiment][2] meow mrrrumph #155501Infallible = !change, without fallback change: [experiment][3] meowww #155657Closes #35121
Closes #148922