blob: aaeee9cef48ac801869774ee56ea1121a38d65cb [file] [log] [blame]
struct S;
fn f() {
let _: S<impl Oops> = S; //~ ERROR cannot find trait `Oops` in this scope
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
}
fn main() {}