]> git.proxmox.com Git - rustc.git/blame - src/test/ui/terr-sorts.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / terr-sorts.stderr
CommitLineData
b7449926 1error[E0308]: mismatched types
0731742a 2 --> $DIR/terr-sorts.rs:10:14
b7449926 3 |
532ac7d7 4LL | want_foo(b);
923072b8
FG
5 | -------- ^ expected struct `Foo`, found struct `Box`
6 | |
7 | arguments to this function are incorrect
b7449926 8 |
60c5eb7d 9 = note: expected struct `Foo`
1b1a35ee 10 found struct `Box<Foo>`
923072b8
FG
11note: function defined here
12 --> $DIR/terr-sorts.rs:8:4
13 |
14LL | fn want_foo(f: Foo) {}
15 | ^^^^^^^^ ------
5099ac24 16help: consider unboxing the value
3c0e092e
XL
17 |
18LL | want_foo(*b);
19 | +
b7449926
XL
20
21error: aborting due to previous error
22
23For more information about this error, try `rustc --explain E0308`.