diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2021-10-06 12:27:42 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2021-11-20 18:54:31 +0000 |
| commit | 446b46673d111f5f00e89e7fa208eaf233b6a7a8 (patch) | |
| tree | 6cc88786757e88593cb58b73b3bbfad2af918bc3 /src/test/ui/error-codes | |
| parent | d8a3d7d0b8264679e2bc04a08002a70cf9614949 (diff) | |
| download | rust-446b46673d111f5f00e89e7fa208eaf233b6a7a8.tar.gz rust-446b46673d111f5f00e89e7fa208eaf233b6a7a8.zip | |
Point at bounds when comparing impl items to trait
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0276.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0276.stderr b/src/test/ui/error-codes/E0276.stderr index 8857e1646ee..1013f041bbe 100644 --- a/src/test/ui/error-codes/E0276.stderr +++ b/src/test/ui/error-codes/E0276.stderr @@ -1,11 +1,11 @@ error[E0276]: impl has stricter requirements than trait - --> $DIR/E0276.rs:6:5 + --> $DIR/E0276.rs:6:30 | LL | fn foo<T>(x: T); | ---------------- definition of `foo` from trait ... LL | fn foo<T>(x: T) where T: Copy {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: Copy` + | ^^^^ impl has extra requirement `T: Copy` error: aborting due to previous error |
