2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2024-12-24 12:03:28 +00:00
rust-clippy/tests/ui/crashes/ice-4671.rs
2020-01-03 17:03:07 +09:00

21 lines
268 B
Rust

#![warn(clippy::use_self)]
#[macro_use]
#[path = "auxiliary/use_self_macro.rs"]
mod use_self_macro;
struct Foo {
a: u32,
}
use_self! {
impl Foo {
fn func(&self) {
[fields(
a
)]
}
}
}
fn main() {}