Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
dont-project-to-rpitit-with-no-value.rs
blob: fe0f011b6b066519ffd3a348c7438cfd039d24fe [
file
] [
log
] [
blame
]
trait
MyTrait
{
fn
foo
(&
self
)
->
impl
Sized
;
fn
bar
(&
self
)
->
impl
Sized
;
}
impl
MyTrait
for
i32
{
//~^ ERROR not all trait items implemented, missing: `foo`
fn
bar
(&
self
)
->
impl
Sized
{
self
.
foo
()
}
}
fn
main
()
{}