blob: 5fb7e9a9913abb0dc17b1ba6f8c77ae4c5df489b [file] [log] [blame]
use std::ops::Deref;
struct Foo;
impl<Foo> Deref for Foo { } //~ ERROR must be used
fn main() {}