rust/tests/ui/error-codes/E0118.rs
2023-01-11 09:32:08 +00:00

8 lines
107 B
Rust

impl<T> T { //~ ERROR E0118
fn get_state(&self) -> String {
String::new()
}
}
fn main() {}