1+ error: expected expression, found type `Alias`
2+ --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:75:9
3+ |
4+ LL | $Ty.foo
5+ | ^^^ expected expression
6+ ...
7+ LL | let _ = check_ty!(Alias);
8+ | ---------------- in this macro invocation
9+ |
10+ = note: this error originates in the macro `check_ty` (in Nightly builds, run with -Z macro-backtrace for more info)
11+
12+ error: expected expression, found type `Alias`
13+ --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:90:9
14+ |
15+ LL | $Ty.$Ident
16+ | ^^^ expected expression
17+ ...
18+ LL | let _ = check_ty_ident!(Alias, foo);
19+ | --------------------------- in this macro invocation
20+ |
21+ = note: this error originates in the macro `check_ty_ident` (in Nightly builds, run with -Z macro-backtrace for more info)
22+
123error[E0423]: expected value, found struct `String`
224 --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:10:13
325 |
@@ -94,8 +116,38 @@ help: use the path separator to refer to an item
94116LL | <Type! {}>::get;
95117 | ~~~~~~~~~~~~
96118
119+ error[E0423]: expected value, found type alias `Alias`
120+ --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:43:9
121+ |
122+ LL | Alias
123+ | ^^^^^
124+ ...
125+ LL | Type!(alias).get();
126+ | ------------ in this macro invocation
127+ |
128+ = note: this error originates in the macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info)
129+ help: use the path separator to refer to an item
130+ |
131+ LL | <Type!(alias)>::get();
132+ | ~~~~~~~~~~~~~~~~
133+
134+ error[E0423]: expected value, found type alias `Alias`
135+ --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:43:9
136+ |
137+ LL | Alias
138+ | ^^^^^
139+ ...
140+ LL | Type! {alias}.get;
141+ | ------------- in this macro invocation
142+ |
143+ = note: this error originates in the macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info)
144+ help: use the path separator to refer to an item
145+ |
146+ LL | <Type! {alias}>::get;
147+ | ~~~~~~~~~~~~~~~~~
148+
97149error[E0423]: expected value, found struct `Vec`
98- --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:46 :9
150+ --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:52 :9
99151 |
100152LL | Vec.new()
101153 | ^^^
@@ -110,7 +162,7 @@ LL | Vec::new()
110162 | ~~
111163
112164error[E0423]: expected value, found struct `Vec`
113- --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:51 :9
165+ --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:57 :9
114166 |
115167LL | Vec.new
116168 | ^^^
@@ -139,6 +191,36 @@ help: use the path separator to refer to an item
139191LL | <Type!()>::new(0)
140192 | ~~~~~~~~~~~
141193
142- error: aborting due to 11 previous errors
194+ error[E0423]: expected value, found type alias `Alias`
195+ --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:43:9
196+ |
197+ LL | Alias
198+ | ^^^^^
199+ ...
200+ LL | let _ = create!(macro method alias);
201+ | --------------------------- in this macro invocation
202+ |
203+ = note: this error originates in the macro `Type` which comes from the expansion of the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info)
204+ help: use the path separator to refer to an item
205+ |
206+ LL | <Type!(alias)>::new(0)
207+ | ~~~~~~~~~~~~~~~~
208+
209+ error[E0423]: expected value, found type alias `Alias`
210+ --> $DIR/dot-notation-type-namespace-suggest-path-sep.rs:81:9
211+ |
212+ LL | Alias.$Ident
213+ | ^^^^^
214+ ...
215+ LL | let _ = check_ident!(foo);
216+ | ----------------- in this macro invocation
217+ |
218+ = note: this error originates in the macro `check_ident` (in Nightly builds, run with -Z macro-backtrace for more info)
219+ help: use the path separator to refer to an item
220+ |
221+ LL | <Alias>::$Ident
222+ | ~~~~~~~~~
223+
224+ error: aborting due to 17 previous errors
143225
144226For more information about this error, try `rustc --explain E0423`.
0 commit comments