]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-104513-ice.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[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() {}