]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #94686 - ChayimFriedman2:issue-94629, r=jackh726
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Wed, 9 Mar 2022 05:38:51 +0000 (06:38 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Mar 2022 05:38:51 +0000 (06:38 +0100)
commit3ce01f71babbf39c78847f63affd9ffb2298ec17
treea38668f6952d24e0a158fa20b53e51e1c760705a
parentd365d5eeaf6219a1bf7b10450c6420dc6d64b944
parent96515f421a9efe88b46091e58533c1bfe875e09e
Rollup merge of #94686 - ChayimFriedman2:issue-94629, r=jackh726

Do not allow `#[rustc_legacy_const_generics]` on methods

It caused an ICE since `item` was `None`.

Fixes #94629.
compiler/rustc_passes/src/check_attr.rs