]> git.lizzy.rs Git - rust.git/blob - src/test/ui/switched-expectations.stderr
Rollup merge of #48629 - strake:char, r=alexcrichton
[rust.git] / src / test / ui / switched-expectations.stderr
1 error[E0308]: mismatched types
2   --> $DIR/switched-expectations.rs:13:30
3    |
4 LL |     let ref string: String = var; //~ ERROR mismatched types [E0308]
5    |                              ^^^ expected struct `std::string::String`, found i32
6    |
7    = note: expected type `std::string::String`
8               found type `i32`
9
10 error: aborting due to previous error
11
12 If you want more information on this error, try using "rustc --explain E0308"