diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/const-generics/generic_const_exprs/issue-85848.stderr (renamed from src/test/ui/const-generics/generic_const_exprs/issue-85848.stderr) | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/test/ui/const-generics/generic_const_exprs/issue-85848.stderr b/tests/ui/const-generics/generic_const_exprs/issue-85848.stderr index 09bcb0860..e50ac671e 100644 --- a/src/test/ui/const-generics/generic_const_exprs/issue-85848.stderr +++ b/tests/ui/const-generics/generic_const_exprs/issue-85848.stderr @@ -11,12 +11,12 @@ note: required for `&C` to implement `Contains<(), true>` --> $DIR/issue-85848.rs:21:12 | LL | impl<T, U> Contains<T, { contains::<T, U>() }> for U where T: _Contains<U> {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ------------ unsatisfied trait bound introduced here note: required for `&C` to implement `Delegates<()>` --> $DIR/issue-85848.rs:12:12 | LL | impl<T, U> Delegates<U> for T where T: Contains<U, true> {} - | ^^^^^^^^^^^^ ^ + | ^^^^^^^^^^^^ ^ ----------------- unsatisfied trait bound introduced here note: required by a bound in `writes_to_specific_path` --> $DIR/issue-85848.rs:30:31 | @@ -36,12 +36,14 @@ note: required for `&C` to implement `Contains<(), true>` --> $DIR/issue-85848.rs:21:12 | LL | impl<T, U> Contains<T, { contains::<T, U>() }> for U where T: _Contains<U> {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ + | ^^^^^^^^^^^^----------------------^ ^ + | | + | unsatisfied trait bound introduced here note: required for `&C` to implement `Delegates<()>` --> $DIR/issue-85848.rs:12:12 | LL | impl<T, U> Delegates<U> for T where T: Contains<U, true> {} - | ^^^^^^^^^^^^ ^ + | ^^^^^^^^^^^^ ^ ----------------- unsatisfied trait bound introduced here note: required by a bound in `writes_to_specific_path` --> $DIR/issue-85848.rs:30:31 | |