]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-98260.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / typeck / issue-98260.rs
1 fn main() {}
2 trait A {
3     fn a(aa: B) -> Result<_, B> {
4     //~^ ERROR: the placeholder `_` is not allowed within types on item signatures for return types [E0121]
5         Ok(())
6     }
7 }
8
9 enum B {}