1 warning: the feature `impl_trait_in_bindings` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-75053.rs:7:34
4 LL | #![cfg_attr(in_bindings, feature(impl_trait_in_bindings))]
5 | ^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
10 error[E0282]: type annotations needed
11 --> $DIR/issue-75053.rs:52:38
14 | ------- `<Self as MyIndex<T>>::O` defined here
16 LL | let _pos: Phantom1<DummyT<()>> = Scope::new().my_index();
17 | ^^^^^^^^^^-------------
19 | this method call resolves to `<Self as MyIndex<T>>::O`
20 | cannot infer type for type parameter `T`
22 error: aborting due to previous error; 1 warning emitted
24 For more information about this error, try `rustc --explain E0282`.