about summary refs log tree commit diff
path: root/tests/ui/typeck/issue-104513-ice.rs
blob: aaeee9cef48ac801869774ee56ea1121a38d65cb (plain)
1
2
3
4
5
6
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() {}