1 warning: the feature `return_position_impl_trait_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/dont-project-to-rpitit-with-no-value.rs:4:12
4 LL | #![feature(return_position_impl_trait_in_trait)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
8 = note: `#[warn(incomplete_features)]` on by default
10 error[E0046]: not all trait items implemented, missing: `foo`
11 --> $DIR/dont-project-to-rpitit-with-no-value.rs:12:1
13 LL | fn foo(&self) -> impl Sized;
14 | ---------------------------- `foo` from trait
16 LL | impl MyTrait for i32 {
17 | ^^^^^^^^^^^^^^^^^^^^ missing `foo` in implementation
19 error: aborting due to previous error; 1 warning emitted
21 For more information about this error, try `rustc --explain E0046`.