@@ -4,16 +4,8 @@ error[E0405]: cannot find trait `AutoTrait` in this scope
44LL | pub struct Bar<T: ?AutoTrait> {}
55 | ^^^^^^^^^ not found in this scope
66
7- warning: unknown lint: `sized_hierarchy_migration`
8- --> $DIR/normalized-param-env-unconstrained-type-120033.rs:6:10
9- |
10- LL | #![allow(sized_hierarchy_migration)]
11- | ^^^^^^^^^^^^^^^^^^^^^^^^^
12- |
13- = note: `#[warn(unknown_lints)]` on by default
14-
157warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
16- --> $DIR/normalized-param-env-unconstrained-type-120033.rs:5 :12
8+ --> $DIR/normalized-param-env-unconstrained-type-120033.rs:6 :12
179 |
1810LL | #![feature(non_lifetime_binders)]
1911 | ^^^^^^^^^^^^^^^^^^^^
@@ -30,7 +22,7 @@ LL | T1: for<T> Foo<usize, Bar = Bar<T>>,
3022note: associated type defined here, with 1 generic parameter: `K`
3123 --> $DIR/normalized-param-env-unconstrained-type-120033.rs:10:10
3224 |
33- LL | type Bar<K: std::marker::PointeeSized >;
25+ LL | type Bar<K>;
3426 | ^^^ -
3527help: add missing generic argument
3628 |
@@ -46,15 +38,15 @@ LL | T1: for<T> Foo<usize, Bar = Bar<T>>,
4638note: associated type defined here, with 1 generic parameter: `K`
4739 --> $DIR/normalized-param-env-unconstrained-type-120033.rs:10:10
4840 |
49- LL | type Bar<K: std::marker::PointeeSized >;
41+ LL | type Bar<K>;
5042 | ^^^ -
5143 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
5244help: add missing generic argument
5345 |
5446LL | T1: for<T> Foo<usize, Bar<K> = Bar<T>>,
5547 | +++
5648
57- error: aborting due to 3 previous errors; 2 warnings emitted
49+ error: aborting due to 3 previous errors; 1 warning emitted
5850
5951Some errors have detailed explanations: E0107, E0405.
6052For more information about an error, try `rustc --explain E0107`.
0 commit comments