fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
335 B12 linesraw
1error[E0308]: mismatched types
2  --> $DIR/coerce-mut.rs:5:7
3   |
4LL |     f(&x);
5   |       ^^ types differ in mutability
6   |
7   = note: expected mutable reference `&mut i32`
8                      found reference `&{integer}`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0308`.