Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
default-body-type-err.rs
blob: ac7a50a365ea01c2b2e4c1120fc9260b14b8d384 [
file
] [
log
] [
blame
]
use
std
::
ops
::
Deref
;
pub
trait
Foo
{
fn
lol
(&
self
)
->
impl
Deref
<
Target
=
String
>
{
//~^ type mismatch resolving `<&i32 as Deref>::Target == String`
&
1i32
}
}
fn
main
()
{}