1 // Make sure speculative path resolution works properly when resolution
2 // adjustment happens and no extra errors is reported.
15 // Speculative resolution of `Self` and `self` silently fails,
16 // "did you mean" messages are not printed.
18 //~^ ERROR cannot find value `field`
20 //~^ ERROR cannot find function `method`
24 //~^ ERROR cannot find value `field`
26 //~^ ERROR cannot find function `method`