]> git.lizzy.rs Git - rust.git/blob - src/test/ui/terr-sorts.stderr
Rollup merge of #92704 - 5225225:std_mem_transmute_ref_t_mut_t, r=michaelwoerister
[rust.git] / src / test / ui / terr-sorts.stderr
1 error[E0308]: mismatched types
2   --> $DIR/terr-sorts.rs:10:14
3    |
4 LL |     want_foo(b);
5    |              ^ expected struct `Foo`, found struct `Box`
6    |
7    = note: expected struct `Foo`
8               found struct `Box<Foo>`
9 help: consider unboxing the value
10    |
11 LL |     want_foo(*b);
12    |              +
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0308`.