]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coercion/coerce-mut.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / coercion / coerce-mut.stderr
1 error[E0308]: mismatched types
2   --> $DIR/coerce-mut.rs:5:7
3    |
4 LL |     f(&x);
5    |       ^^ types differ in mutability
6    |
7    = note: expected type `&mut i32`
8               found type `&{integer}`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.