Sign in
android
/
toolchain
/
rustc
/
d59a28787b7ba06edbd1e4528a42b66d67dc6a19
/
.
/
src
/
test
/
ui
/
error-codes
/
E0038.rs
blob: 9757e2ab10c7a983075557e97c58974de833d448 [
file
] [
log
] [
blame
]
trait
Trait
{
fn
foo
(&
self
)
->
Self
;
}
fn
call_foo
(
x
:
Box
<
dyn
Trait
>)
{
//~^ ERROR E0038
let
y
=
x
.
foo
();
}
fn
main
()
{
}