]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/resolved-located-at.stderr
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / ui / proc-macro / resolved-located-at.stderr
1 error: expected error
2   --> $DIR/resolved-located-at.rs:7:25
3    |
4 LL |     resolve_located_at!(a b)
5    |                         ^
6    |
7    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error[E0308]: mismatched types
10   --> $DIR/resolved-located-at.rs:7:27
11    |
12 LL | fn main() {
13    |           - expected `()` because of default return type
14 LL |     resolve_located_at!(a b)
15    |                           ^ expected `()`, found struct `S`
16    |
17    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0308`.