1 2 3 4 5 6 7
use std::ops::Deref; struct Foo; impl<Foo> Deref for Foo { } //~ ERROR must be used fn main() {}