fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
758 B21 linesraw
1error: expected error
2  --> $DIR/resolved-located-at.rs:7:25
3   |
4LL |     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
9error[E0308]: mismatched types
10  --> $DIR/resolved-located-at.rs:7:27
11   |
12LL | fn main() {
13   |          - expected `()` because of default return type
14LL |     resolve_located_at!(a b)
15   |                           ^ expected `()`, found `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
19error: aborting due to 2 previous errors
20
21For more information about this error, try `rustc --explain E0308`.