summary refs log tree commit diff
path: root/src/test/ui/proc-macro/nested-item-spans.stderr
blob: 011a91d446295855ab6998e47eea83c6ee7124c8 (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:10:22
   |
LL |         let x: u32 = "x";
   |                      ^^^ expected u32, found reference
   |
   = note: expected type `u32`
              found type `&'static str`

error[E0308]: mismatched types
  --> $DIR/nested-item-spans.rs:19:22
   |
LL |         let x: u32 = "x";
   |                      ^^^ 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`.