diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-06-25 15:14:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-25 15:14:10 +0200 |
| commit | 8257ba29ef4c18315699bca559a3bb5358622502 (patch) | |
| tree | 76ccc48eb4208eafbe5e160dc81e098a9c49b2f3 /src/test/ui/error-codes | |
| parent | ecefccd8d2859c6715760861c7dacfcdf816992a (diff) | |
| parent | 402dceba99bed5efa5774d6238c13dfce4670db1 (diff) | |
| download | rust-8257ba29ef4c18315699bca559a3bb5358622502.tar.gz rust-8257ba29ef4c18315699bca559a3bb5358622502.zip | |
Rollup merge of #98298 - TaKO8Ki:point-to-type-param-definition, r=compiler-errors
Point to type parameter definition when not finding variant, method and associated item fixes #77391
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0599.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0599.stderr b/src/test/ui/error-codes/E0599.stderr index a78a003661d..49ca1d6353d 100644 --- a/src/test/ui/error-codes/E0599.stderr +++ b/src/test/ui/error-codes/E0599.stderr @@ -2,7 +2,7 @@ error[E0599]: no associated item named `NotEvenReal` found for struct `Foo` in t --> $DIR/E0599.rs:4:20 | LL | struct Foo; - | ----------- associated item `NotEvenReal` not found for this + | --- associated item `NotEvenReal` not found for this struct ... LL | || if let Foo::NotEvenReal() = Foo {}; | ^^^^^^^^^^^ associated item not found in `Foo` |
