Files
rust/tests/ui/impl-trait/in-trait/dont-probe-missing-item-name-3.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
275 B
Rust
Raw Normal View History

trait Trait {
fn method() -> impl Sized;
}
// Ensure that we don't try to probe the name of the RPITIT when looking for
// fixes to suggest for the missing associated type's trait path below.
fn foo() -> i32::Assoc {}
//~^ ERROR ambiguous associated type
fn main() {}