]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/issue-74761.full_tait.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / issue-74761.full_tait.stderr
1 warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-74761.rs:4:32
3 |
4 LL | #![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
10 error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates
11 --> $DIR/issue-74761.rs:11:6
12 |
13 LL | impl<'a, 'b> A for () {
14 | ^^ unconstrained lifetime parameter
15
16 error[E0207]: the lifetime parameter `'b` is not constrained by the impl trait, self type, or predicates
17 --> $DIR/issue-74761.rs:11:10
18 |
19 LL | impl<'a, 'b> A for () {
20 | ^^ unconstrained lifetime parameter
21
22 error: aborting due to 2 previous errors; 1 warning emitted
23
24 For more information about this error, try `rustc --explain E0207`.