]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/attribute-with-error.stderr
Rollup merge of #61135 - czipperz:rc-make_mut-weak-doc, r=Mark-Simulacrum
[rust.git] / src / test / ui / proc-macro / attribute-with-error.stderr
1 error[E0308]: mismatched types
2   --> $DIR/attribute-with-error.rs:10:18
3    |
4 LL |     let a: i32 = "foo";
5    |                  ^^^^^ expected i32, found reference
6    |
7    = note: expected type `i32`
8               found type `&'static str`
9
10 error[E0308]: mismatched types
11   --> $DIR/attribute-with-error.rs:12:18
12    |
13 LL |     let b: i32 = "f'oo";
14    |                  ^^^^^^ expected i32, found reference
15    |
16    = note: expected type `i32`
17               found type `&'static str`
18
19 error[E0308]: mismatched types
20   --> $DIR/attribute-with-error.rs:25:22
21    |
22 LL |         let a: i32 = "foo";
23    |                      ^^^^^ expected i32, found reference
24    |
25    = note: expected type `i32`
26               found type `&'static str`
27
28 error[E0308]: mismatched types
29   --> $DIR/attribute-with-error.rs:35:22
30    |
31 LL |         let a: i32 = "foo";
32    |                      ^^^^^ expected i32, found reference
33    |
34    = note: expected type `i32`
35               found type `&'static str`
36
37 error: aborting due to 4 previous errors
38
39 For more information about this error, try `rustc --explain E0308`.