diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-05-03 15:53:52 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-06-23 21:30:56 +0300 |
| commit | 7a4f09c2240ef2eb4d1e383f0d471b85ce8d0720 (patch) | |
| tree | 6730649dd8126cd1ff858af5bb74ea68699d85d1 /tests/ui/impl-header-lifetime-elision | |
| parent | 42245d34d22ade32b3f276dcf74deb826841594c (diff) | |
| download | rust-7a4f09c2240ef2eb4d1e383f0d471b85ce8d0720.tar.gz rust-7a4f09c2240ef2eb4d1e383f0d471b85ce8d0720.zip | |
compiletest: Improve diagnostics for line annotation mismatches
Diffstat (limited to 'tests/ui/impl-header-lifetime-elision')
| -rw-r--r-- | tests/ui/impl-header-lifetime-elision/assoc-type.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/impl-header-lifetime-elision/assoc-type.rs b/tests/ui/impl-header-lifetime-elision/assoc-type.rs index db3c416540f..14b2ea647f1 100644 --- a/tests/ui/impl-header-lifetime-elision/assoc-type.rs +++ b/tests/ui/impl-header-lifetime-elision/assoc-type.rs @@ -9,7 +9,7 @@ trait MyTrait { impl MyTrait for &i32 { type Output = &i32; - //~^ ERROR 11:19: 11:20: in the trait associated type is declared without lifetime parameters, so using a borrowed type for them requires that lifetime to come from the implemented type + //~^ ERROR in the trait associated type is declared without lifetime parameters, so using a borrowed type for them requires that lifetime to come from the implemented type } impl MyTrait for &u32 { |
