Sign in
fuchsia
/
third_party
/
rust
/
867ce769b6a27c8f359eb6573f5da8b34677d055
/
.
/
src
/
test
/
ui
/
issues
/
issue-56806.rs
blob: b6454e578e6af22b8f4fd438efdccd4a5cc3a416 [
file
] [
log
] [
blame
]
pub
trait
Trait
{
fn
dyn_instead_of_self
(
self
:
Box
<
dyn
Trait
>);
//~^ ERROR invalid method receiver type: std::boxed::Box<(dyn Trait + 'static)>
}
pub
fn
main
()
{
}