]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/type-alias-impl-trait-with-no-traits.stderr
Add test for issue-63279
[rust.git] / src / test / ui / type-alias-impl-trait / type-alias-impl-trait-with-no-traits.stderr
1 error: at least one trait must be specified
2   --> $DIR/type-alias-impl-trait-with-no-traits.rs:3:17
3    |
4 LL | type Foo = impl 'static;
5    |                 ^^^^^^^
6
7 error: at least one trait must be specified
8   --> $DIR/type-alias-impl-trait-with-no-traits.rs:10:13
9    |
10 LL | fn bar() -> impl 'static {
11    |             ^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14