]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-104513-ice.rs
Auto merge of #106092 - asquared31415:start_lang_item_checks, r=davidtwco
[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() {}