-
Couldn't load subscription status.
- Fork 13.9k
Do not allow #[rustc_legacy_const_generics] on methods
#94686
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
Conversation
|
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
|
You mean “do not allow,” right? |
|
@notriddle Isn't it exactly what I wrote? |
|
@ChayimFriedman2, I think notriddle means there is a typo in the PR title. |
#[rustc_legacy_const_generics] on methods#[rustc_legacy_const_generics] on methods
|
The same typo is also in the commit message. |
It caused an ICE since `item` was `None`.
ae05bfa to
96515f4
Compare
|
Oh yeah, my bad. Fixed it. |
|
@bors r+ rollup |
|
📌 Commit 96515f4 has been approved by |
…h726 Do not allow `#[rustc_legacy_const_generics]` on methods It caused an ICE since `item` was `None`. Fixes rust-lang#94629.
Rollup of 6 pull requests Successful merges: - rust-lang#94312 (Edit `rustc_trait_selection::infer::lattice` docs) - rust-lang#94583 (Add a team for '`@rustbot` ping fuchsia') - rust-lang#94686 (Do not allow `#[rustc_legacy_const_generics]` on methods) - rust-lang#94699 (BTree: remove dead data needlessly complicating insert) - rust-lang#94756 (Use `unreachable!` for an unreachable code path) - rust-lang#94759 (Update cargo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
It caused an ICE since
itemwasNone.Fixes #94629.