Skip to content

Commit

Permalink
tidy fix from suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverKillane committed May 15, 2024
1 parent a5d0988 commit 012288b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_error_codes/src/error_codes/E0582.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ where
f: F
}
```
The latter scenario encounters this error because `Foo::Assoc<'a>` could be implemented by a type that does not use
the `'a` parameter, so there is no guarentee that `X::Assoc<'a>` actually uses
`'a`.
The latter scenario encounters this error because `Foo::Assoc<'a>` could be
implemented by a type that does not use the `'a` parameter, so there is no
guarentee that `X::Assoc<'a>` actually uses `'a`.

To fix this we can pass a dummy parameter:
```
Expand Down

0 comments on commit 012288b

Please sign in to comment.