summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0118.rs
blob: a61ba7bbf328cee6aaaa5efde5e4e9125ec9f048 (plain)
1
2
3
4
5
6
7
impl<T> T { //~ ERROR E0118
    fn get_state(&self) -> String {
       String::new()
    }
}

fn main() {}