blob: db39bb354379a10ab989b986a1e1bba0ca0acb04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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() {}
|