]> git.proxmox.com Git - rustc.git/blob - src/test/ui/terr-sorts.stderr
New upstream version 1.58.1+dfsg1
[rustc.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: try dereferencing the `Box`
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`.