@@ -313,39 +313,26 @@ LL | unknown_metavar!(a);
313
313
|
314
314
= note: this error originates in the macro `unknown_metavar` (in Nightly builds, run with -Z macro-backtrace for more info)
315
315
316
- error[E0425]: cannot find value `i ` in this scope
317
- --> $DIR/syntax-errors.rs:23:36
316
+ error[E0425]: cannot find function `count ` in this scope
317
+ --> $DIR/syntax-errors.rs:23:30
318
318
|
319
319
LL | ( $( $i:ident ),* ) => { count(i) };
320
- | ^ not found in this scope
320
+ | ^^^^ ^ not found in this scope
321
321
...
322
322
LL | no_curly__no_rhs_dollar__round!(a, b, c);
323
323
| ---------------------------------------- in this macro invocation
324
324
|
325
325
= note: this error originates in the macro `no_curly__no_rhs_dollar__round` (in Nightly builds, run with -Z macro-backtrace for more info)
326
-
327
- error[E0425]: cannot find value `i` in this scope
328
- --> $DIR/syntax-errors.rs:30:29
329
- |
330
- LL | ( $i:ident ) => { count(i) };
331
- | ^ not found in this scope
332
- ...
333
- LL | no_curly__no_rhs_dollar__no_round!(a);
334
- | ------------------------------------- in this macro invocation
326
+ help: consider importing this associated function
335
327
|
336
- = note: this error originates in the macro `no_curly__no_rhs_dollar__no_round` (in Nightly builds, run with -Z macro-backtrace for more info)
337
-
338
- error[E0425]: cannot find value `a` in this scope
339
- --> $DIR/syntax-errors.rs:152:37
328
+ LL + use std::iter::Iterator::count;
340
329
|
341
- LL | no_curly__rhs_dollar__no_round!(a);
342
- | ^ not found in this scope
343
330
344
- error[E0425]: cannot find function `count ` in this scope
345
- --> $DIR/syntax-errors.rs:23:30
331
+ error[E0425]: cannot find value `i ` in this scope
332
+ --> $DIR/syntax-errors.rs:23:36
346
333
|
347
334
LL | ( $( $i:ident ),* ) => { count(i) };
348
- | ^^^^ ^ not found in this scope
335
+ | ^ not found in this scope
349
336
...
350
337
LL | no_curly__no_rhs_dollar__round!(a, b, c);
351
338
| ---------------------------------------- in this macro invocation
@@ -358,6 +345,21 @@ error[E0425]: cannot find function `count` in this scope
358
345
LL | ( $i:ident ) => { count(i) };
359
346
| ^^^^^ not found in this scope
360
347
...
348
+ LL | no_curly__no_rhs_dollar__no_round!(a);
349
+ | ------------------------------------- in this macro invocation
350
+ |
351
+ = note: this error originates in the macro `no_curly__no_rhs_dollar__no_round` (in Nightly builds, run with -Z macro-backtrace for more info)
352
+ help: consider importing this associated function
353
+ |
354
+ LL + use std::iter::Iterator::count;
355
+ |
356
+
357
+ error[E0425]: cannot find value `i` in this scope
358
+ --> $DIR/syntax-errors.rs:30:29
359
+ |
360
+ LL | ( $i:ident ) => { count(i) };
361
+ | ^ not found in this scope
362
+ ...
361
363
LL | no_curly__no_rhs_dollar__no_round!(a);
362
364
| ------------------------------------- in this macro invocation
363
365
|
@@ -373,6 +375,16 @@ LL | no_curly__rhs_dollar__no_round!(a);
373
375
| ---------------------------------- in this macro invocation
374
376
|
375
377
= note: this error originates in the macro `no_curly__rhs_dollar__no_round` (in Nightly builds, run with -Z macro-backtrace for more info)
378
+ help: consider importing this associated function
379
+ |
380
+ LL + use std::iter::Iterator::count;
381
+ |
382
+
383
+ error[E0425]: cannot find value `a` in this scope
384
+ --> $DIR/syntax-errors.rs:152:37
385
+ |
386
+ LL | no_curly__rhs_dollar__no_round!(a);
387
+ | ^ not found in this scope
376
388
377
389
error: aborting due to 39 previous errors
378
390
0 commit comments