1 warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/inline-trait-and-foreign-items.rs:4:32
4 LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
5 | ^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
10 warning: `#[inline]` is ignored on constants
11 --> $DIR/inline-trait-and-foreign-items.rs:10:5
16 note: the lint level is defined here
17 --> $DIR/inline-trait-and-foreign-items.rs:7:9
19 LL | #![warn(unused_attributes)]
21 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
22 = note: see issue #65833 <https://github.com/rust-lang/rust/issues/65833> for more information
24 error[E0518]: attribute should be applied to function or closure
25 --> $DIR/inline-trait-and-foreign-items.rs:14:5
30 | ------- not a function or closure
32 warning: `#[inline]` is ignored on constants
33 --> $DIR/inline-trait-and-foreign-items.rs:21:5
38 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
39 = note: see issue #65833 <https://github.com/rust-lang/rust/issues/65833> for more information
41 error[E0518]: attribute should be applied to function or closure
42 --> $DIR/inline-trait-and-foreign-items.rs:25:5
47 | -------------- not a function or closure
49 error[E0518]: attribute should be applied to function or closure
50 --> $DIR/inline-trait-and-foreign-items.rs:28:5
54 LL | type U = impl Trait;
55 | -------------------- not a function or closure
57 error[E0518]: attribute should be applied to function or closure
58 --> $DIR/inline-trait-and-foreign-items.rs:33:5
63 | -------------- not a function or closure
65 error[E0518]: attribute should be applied to function or closure
66 --> $DIR/inline-trait-and-foreign-items.rs:36:5
71 | ------- not a function or closure
73 error: could not find defining uses
74 --> $DIR/inline-trait-and-foreign-items.rs:29:14
76 LL | type U = impl Trait;
79 error: aborting due to 6 previous errors; 3 warnings emitted
81 For more information about this error, try `rustc --explain E0518`.