Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
typeck
/
issue-104513-ice.rs
blob: 4968d3f51fe801f72dfd79caec1c90e9b114358e [
file
] [
log
] [
blame
]
struct
S
;
fn
f
()
{
let
_
:
S
<
impl
Oops
>
=
S
;
//~ ERROR cannot find trait `Oops` in this scope
//~^ ERROR `impl Trait` only allowed in function and inherent method argument and return types
}
fn
main
()
{}