diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/generic-associated-types/missing-where-clause-on-trait.stderr (renamed from src/test/ui/generic-associated-types/missing-where-clause-on-trait.stderr) | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/generic-associated-types/missing-where-clause-on-trait.stderr b/tests/ui/generic-associated-types/missing-where-clause-on-trait.stderr index ffdba6676..8a71fc73a 100644 --- a/src/test/ui/generic-associated-types/missing-where-clause-on-trait.stderr +++ b/tests/ui/generic-associated-types/missing-where-clause-on-trait.stderr @@ -6,6 +6,12 @@ LL | type Assoc<'a, 'b>; ... LL | type Assoc<'a, 'b> = () where 'a: 'b; | ^^ impl has extra requirement `'a: 'b` + | +help: remove the `where` clause + | +LL - type Assoc<'a, 'b> = () where 'a: 'b; +LL + type Assoc<'a, 'b> = () ; + | error: aborting due to previous error |