summary refs log tree commit diff
path: root/src/test/ui/proc-macro/nested-item-spans.stderr
blob: 75140747e8c76fbe3e7b7d207360edc2e7b8ed6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0308]: mismatched types
  --> $DIR/nested-item-spans.rs:20:22
   |
LL |         let x: u32 = "x"; //~ ERROR: mismatched types
   |                      ^^^ expected u32, found reference
   |
   = note: expected type `u32`
              found type `&'static str`

error[E0308]: mismatched types
  --> $DIR/nested-item-spans.rs:29:22
   |
LL |         let x: u32 = "x"; //~ ERROR: mismatched types
   |                      ^^^ expected u32, found reference
   |
   = note: expected type `u32`
              found type `&'static str`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.