]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type-alias-impl-trait/issue-57700.full_tait.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / type-alias-impl-trait / issue-57700.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-57700.rs:6: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: type parameter `impl Deref<Target = Self>` is part of concrete type but not used in parameter list for the `impl Trait` type alias
11 --> $DIR/issue-57700.rs:20:58
12 |
13LL | fn foo(self: impl Deref<Target = Self>) -> Self::Bar {
14 | __________________________________________________________^
15LL | |
16LL | | self
17LL | | }
18 | |_____^
19
20error: aborting due to previous error; 1 warning emitted
21