]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-4671.rs
Move ICE tests to /crashes
[rust.git] / tests / ui / crashes / ice-4671.rs
1 #![warn(clippy::use_self)]
2
3 #[macro_use]
4 #[path = "../auxiliary/use_self_macro.rs"]
5 mod use_self_macro;
6
7 struct Foo {
8     a: u32,
9 }
10
11 use_self! {
12     impl Foo {
13         fn func(&self) {
14             [fields(
15                 a
16             )]
17         }
18     }
19 }
20
21 fn main() {}