1 #![deny(broken_intra_doc_links)]
2 //~^ NOTE lint level is defined
5 //! [std::io::oops::not::here]
7 // FIXME: this should say that it was skipped (maybe an allowed by default lint?)
10 // FIXME: this could say which path was the first to not be found (in this case, `path`)
11 /// [path::to::nonexistent::module]
12 //~^ ERROR unresolved link
13 //~| NOTE no item named `path::to::nonexistent` is in scope
16 // TODO: why does this say `f` and not `f::A`??
18 //~^ ERROR unresolved link
19 //~| NOTE no item named `f` is in scope
23 //~^ ERROR unresolved link
24 //~| NOTE this link partially resolves
25 //~| NOTE `S` has no field
28 //~^ ERROR unresolved link
29 //~| NOTE this link partially resolves
30 //~| NOTE `S` has no field
33 //~^ ERROR unresolved link
34 //~| NOTE this link partially resolves
35 //~| NOTE `E` has no field
38 //~^ ERROR unresolved link
39 //~| NOTE the builtin type `u8` does not have an associated item named `not_found`
42 //~^ ERROR unresolved link
43 //~| HELP to link to the unit struct, use its disambiguator
44 //~| NOTE this link resolves to the unit struct `S`
49 pub enum E { A, B, C }