blob: cf48294e1997ff921adb7a6f221683c240e2c327 (
plain)
1
2
3
4
5
6
7
8
9
|
fn main() {}
trait A {
fn a(aa: B) -> Result<_, B> {
//~^ ERROR: the placeholder `_` is not allowed within types on item signatures for return types [E0121]
Ok(())
}
}
enum B {}
|