rust/tests/ui/impl-trait/auto-trait-selection.next.stderr

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

10 lines
392 B
Plaintext
Raw Normal View History

2024-12-04 20:37:00 +00:00
error[E0284]: type annotations needed: cannot satisfy `impl Sized == _`
--> $DIR/auto-trait-selection.rs:15:5
2024-06-04 13:55:15 +00:00
|
LL | if false { is_trait(foo()) } else { Default::default() }
2024-12-04 20:37:00 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot satisfy `impl Sized == _`
2024-06-04 13:55:15 +00:00
error: aborting due to 1 previous error
2024-12-04 20:37:00 +00:00
For more information about this error, try `rustc --explain E0284`.