about summary refs log tree commit diff
path: root/tests/ui/attributes/use-doc-alias-name.stderr
blob: 07f4865e41520ec0658588bb62926e01da077a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
error[E0433]: failed to resolve: could not find `DocAliasX` in `n`
  --> $DIR/use-doc-alias-name.rs:52:11
   |
LL |     m::n::DocAliasX::y::S6;
   |           ^^^^^^^^^ could not find `DocAliasX` in `n`
   |
help: `x` has a name defined in the doc alias attribute as `DocAliasX`
   |
LL -     m::n::DocAliasX::y::S6;
LL +     m::n::x::y::S6;
   |

error[E0425]: cannot find value `LocalDocAliasS` in this scope
  --> $DIR/use-doc-alias-name.rs:13:5
   |
LL |     LocalDocAliasS; // don't show help in local crate
   |     ^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `DocAliasS1` in this scope
  --> $DIR/use-doc-alias-name.rs:16:5
   |
LL |     DocAliasS1;
   |     ^^^^^^^^^^
   |
help: `S1` has a name defined in the doc alias attribute as `DocAliasS1`
   |
LL -     DocAliasS1;
LL +     S1;
   |

error[E0425]: cannot find value `DocAliasS2` in this scope
  --> $DIR/use-doc-alias-name.rs:20:5
   |
LL |     DocAliasS2;
   |     ^^^^^^^^^^
   |
help: `S2` has a name defined in the doc alias attribute as `DocAliasS2`
   |
LL -     DocAliasS2;
LL +     S2;
   |

error[E0425]: cannot find value `DocAliasS3` in this scope
  --> $DIR/use-doc-alias-name.rs:24:5
   |
LL |     DocAliasS3;
   |     ^^^^^^^^^^
   |
help: `S2` has a name defined in the doc alias attribute as `DocAliasS3`
   |
LL -     DocAliasS3;
LL +     S2;
   |

error[E0425]: cannot find value `DocAliasS4` in this scope
  --> $DIR/use-doc-alias-name.rs:28:5
   |
LL |     DocAliasS4;
   |     ^^^^^^^^^^
   |
help: `S2` has a name defined in the doc alias attribute as `DocAliasS4`
   |
LL -     DocAliasS4;
LL +     S2;
   |

error[E0425]: cannot find value `DocAliasS5` in module `m`
  --> $DIR/use-doc-alias-name.rs:40:8
   |
LL |     m::DocAliasS5;
   |        ^^^^^^^^^^
   |
help: `S5` has a name defined in the doc alias attribute as `DocAliasS5`
   |
LL -     m::DocAliasS5;
LL +     m::S5;
   |

error[E0425]: cannot find value `DocAliasS1` in crate `use_doc_alias_name_extern`
  --> $DIR/use-doc-alias-name.rs:48:32
   |
LL |     use_doc_alias_name_extern::DocAliasS1;
   |                                ^^^^^^^^^^
   |
help: `S1` has a name defined in the doc alias attribute as `DocAliasS1`
   |
LL -     use_doc_alias_name_extern::DocAliasS1;
LL +     use_doc_alias_name_extern::S1;
   |

error[E0425]: cannot find value `DocAliasS6` in module `m::n::x::y`
  --> $DIR/use-doc-alias-name.rs:56:17
   |
LL |     m::n::x::y::DocAliasS6;
   |                 ^^^^^^^^^^
   |
help: `S6` has a name defined in the doc alias attribute as `DocAliasS6`
   |
LL -     m::n::x::y::DocAliasS6;
LL +     m::n::x::y::S6;
   |

error[E0425]: cannot find value `DocAliasS1` in this scope
  --> $DIR/use-doc-alias-name.rs:63:9
   |
LL |         DocAliasS1;
   |         ^^^^^^^^^^
   |
help: `S1` has a name defined in the doc alias attribute as `DocAliasS1`
   |
LL -         DocAliasS1;
LL +         S1;
   |

error[E0425]: cannot find function `doc_alias_f1` in this scope
  --> $DIR/use-doc-alias-name.rs:32:5
   |
LL |     doc_alias_f1();
   |     ^^^^^^^^^^^^
   |
help: `f` has a name defined in the doc alias attribute as `doc_alias_f1`
   |
LL -     doc_alias_f1();
LL +     f();
   |

error[E0425]: cannot find function `doc_alias_f2` in this scope
  --> $DIR/use-doc-alias-name.rs:36:5
   |
LL |     doc_alias_f2();
   |     ^^^^^^^^^^^^
   |
help: `f` has a name defined in the doc alias attribute as `doc_alias_f2`
   |
LL -     doc_alias_f2();
LL +     f();
   |

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `not_exist_module`
  --> $DIR/use-doc-alias-name.rs:44:5
   |
LL |     not_exist_module::DocAliasS1;
   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `not_exist_module`
   |
   = help: you might be missing a crate named `not_exist_module`

error: aborting due to 13 previous errors

Some errors have detailed explanations: E0425, E0433.
For more information about an error, try `rustc --explain E0425`.