blob: 0983b8b3dc3c4fc406cf68a8679b3bbf92827f58 [file] [log] [blame]
trait T {
fn f(self);
}
impl T for () {
fn f(self) {
let self = (); //~ ERROR expected unit struct, unit variant or constant, found local variable `self`
}
}
fn main() {}