diff options
| author | Oliver Killane <oliverkillane@gmail.com> | 2024-05-15 01:15:36 +0100 |
|---|---|---|
| committer | Oliver Killane <oliverkillane@gmail.com> | 2024-05-15 01:15:41 +0100 |
| commit | 012288b922e5db0ca6a8bbb2d1704c86c0fd79ff (patch) | |
| tree | 3fbee364ded4318f2a8c8770f5bdae57406e222f /compiler/rustc_error_codes/src | |
| parent | a5d0988a88a7557d4ae507fecd4df3d9ed8ad839 (diff) | |
| download | rust-012288b922e5db0ca6a8bbb2d1704c86c0fd79ff.tar.gz rust-012288b922e5db0ca6a8bbb2d1704c86c0fd79ff.zip | |
tidy fix from suggestion
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0582.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0582.md b/compiler/rustc_error_codes/src/error_codes/E0582.md index 26b65b12bc9..b2cdb509c95 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0582.md +++ b/compiler/rustc_error_codes/src/error_codes/E0582.md @@ -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: ``` |
