]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type-alias-impl-trait/issue-63279.full_tait.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / issue-63279.full_tait.stderr
CommitLineData
6a06907d
XL
1warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-63279.rs:5:32
3 |
4LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
5 | ^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
9
10error[E0271]: type mismatch resolving `<[closure@$DIR/issue-63279.rs:11:5: 11:28] as FnOnce<()>>::Output == ()`
11 --> $DIR/issue-63279.rs:8:16
12 |
13LL | type Closure = impl FnOnce();
cdc7bbd5 14 | ^^^^^^^^^^^^^ expected `()`, found opaque type
6a06907d 15 |
cdc7bbd5
XL
16 = note: expected unit type `()`
17 found opaque type `impl FnOnce<()>`
6a06907d
XL
18
19error: aborting due to previous error; 1 warning emitted
20
21For more information about this error, try `rustc --explain E0271`.