diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2021-04-07 08:31:38 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2021-04-07 08:31:38 -0700 |
| commit | 64e6288b8bd78dd8b0addbd0a599e393e2209b76 (patch) | |
| tree | 319e6f889d3ba1085b37824ae67ab8b02d65b5eb /src/test/ui/impl-trait | |
| parent | 60c7f37f7ca755db24a414c66a919aab8ae7a9cc (diff) | |
| download | rust-64e6288b8bd78dd8b0addbd0a599e393e2209b76.tar.gz rust-64e6288b8bd78dd8b0addbd0a599e393e2209b76.zip | |
rebase and update tests
Diffstat (limited to 'src/test/ui/impl-trait')
| -rw-r--r-- | src/test/ui/impl-trait/projection-mismatch-in-impl-where-clause.stderr | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/ui/impl-trait/projection-mismatch-in-impl-where-clause.stderr b/src/test/ui/impl-trait/projection-mismatch-in-impl-where-clause.stderr index d1956a9afb8..54eb5a96c9d 100644 --- a/src/test/ui/impl-trait/projection-mismatch-in-impl-where-clause.stderr +++ b/src/test/ui/impl-trait/projection-mismatch-in-impl-where-clause.stderr @@ -4,7 +4,11 @@ error[E0271]: type mismatch resolving `<() as Super>::Assoc == ()` LL | fn test() -> impl Test { | ^^^^^^^^^ expected `()`, found `u8` | - = note: required because of the requirements on the impl of `Test` for `()` +note: required because of the requirements on the impl of `Test` for `()` + --> $DIR/projection-mismatch-in-impl-where-clause.rs:11:9 + | +LL | impl<T> Test for T where T: Super<Assoc = ()> {} + | ^^^^ ^ error: aborting due to previous error |
