Files
rust/tests/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
466 B
Plaintext
Raw Normal View History

2025-02-27 08:21:47 +00:00
error[E0308]: mismatched types
2019-05-28 14:46:13 -04:00
--> $DIR/feature-gate-unsized_tuple_coercion.rs:2:28
|
2019-05-28 14:46:13 -04:00
LL | let _ : &(dyn Send,) = &((),);
2025-02-27 08:21:47 +00:00
| ------------ ^^^^^^ expected `&(dyn Send,)`, found `&((),)`
| |
| expected due to this
|
2025-02-27 08:21:47 +00:00
= note: expected reference `&(dyn Send,)`
found reference `&((),)`
error: aborting due to 1 previous error
2025-02-27 08:21:47 +00:00
For more information about this error, try `rustc --explain E0308`.