]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/object-unsafe-trait-should-use-where-sized.rs
2 #![allow(unused_variables, dead_code)]
5 fn foo() where Self: Other
, { }
6 fn bar(self: ()) {}
//~ ERROR invalid `self` parameter type
9 fn bar(x
: &dyn Trait
) {}
//~ ERROR the trait `Trait` cannot be made into an object