diff options
| author | bors <bors@rust-lang.org> | 2022-06-28 09:48:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-28 09:48:18 +0000 |
| commit | baf382e63c023259fa1f9042f8f479f183ca6ed3 (patch) | |
| tree | a920eaac003cb1ccc5775ba5eabaaad0f890c993 /src/test/ui/error-codes | |
| parent | 64eb9ab869bc3f9ef3645302fbf22e706eea16cf (diff) | |
| parent | 8242aa839e741ac25825f89eff392cae1b2e8347 (diff) | |
| download | rust-baf382e63c023259fa1f9042f8f479f183ca6ed3.tar.gz rust-baf382e63c023259fa1f9042f8f479f183ca6ed3.zip | |
Auto merge of #98396 - cjgillot:iwfchir, r=petrochenkov
Do not access HIR to check impl wf. r? `@ghost`
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0201.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/error-codes/E0201.stderr b/src/test/ui/error-codes/E0201.stderr index 89cfd402423..af029603fa1 100644 --- a/src/test/ui/error-codes/E0201.stderr +++ b/src/test/ui/error-codes/E0201.stderr @@ -2,17 +2,17 @@ error[E0201]: duplicate definitions with name `bar`: --> $DIR/E0201.rs:5:5 | LL | fn bar(&self) -> bool { self.0 > 5 } - | ------------------------------------ previous definition of `bar` here + | --------------------- previous definition of `bar` here LL | fn bar() {} - | ^^^^^^^^^^^ duplicate definition + | ^^^^^^^^ duplicate definition error[E0201]: duplicate definitions with name `baz`: --> $DIR/E0201.rs:17:5 | LL | fn baz(&self) -> bool { true } - | ------------------------------ previous definition of `baz` here + | --------------------- previous definition of `baz` here LL | fn baz(&self) -> bool { self.0 > 5 } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition + | ^^^^^^^^^^^^^^^^^^^^^ duplicate definition error[E0201]: duplicate definitions with name `Quux`: --> $DIR/E0201.rs:18:5 |
