]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-104513-ice.rs
Auto merge of #107303 - compiler-errors:intern-canonical-var-values, r=lcnr
[rust.git] / tests / ui / typeck / issue-104513-ice.rs
1 struct S;
2 fn f() {
3     let _: S<impl Oops> = S; //~ ERROR cannot find trait `Oops` in this scope
4     //~^ ERROR `impl Trait` only allowed in function and inherent method return types
5 }
6 fn main() {}