]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/resolved-located-at.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / 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 the macro `resolve_located_at` (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 the macro `resolve_located_at` (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`.