Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
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
()
{
}