Do not ICE on expect(warnings).
This commit is contained in:
parent
94f8347bae
commit
6dfc4033be
2 changed files with 11 additions and 12 deletions
6
tests/ui/lint/rfc-2383-lint-reason/expect_warnings.rs
Normal file
6
tests/ui/lint/rfc-2383-lint-reason/expect_warnings.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
//@ check-pass
|
||||
|
||||
#![expect(warnings)]
|
||||
|
||||
#[expect(unused)]
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue