]> git.proxmox.com Git - rustc.git/blob - src/test/ui/typeck/issue-13853-2.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / typeck / issue-13853-2.rs
1 trait FromStructReader<'a> { }
2 trait ResponseHook {
3 fn get(&self);
4 }
5 fn foo(res : Box<dyn ResponseHook>) { res.get } //~ ERROR attempted to take value of method
6 fn main() {}