diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-02-23 03:42:32 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-02-26 20:24:02 +0300 |
| commit | fa2d9fc4b9e578d95fbf65613d1bf732fbdfb0d4 (patch) | |
| tree | 1eb1a49b4750e2704d3d724fb4a12ea4e2237eff /src/test/ui/error-codes/E0221.stderr | |
| parent | cdbd8c2f2aa69c4b8fe6f004449440e87c4ab87e (diff) | |
| download | rust-fa2d9fc4b9e578d95fbf65613d1bf732fbdfb0d4.tar.gz rust-fa2d9fc4b9e578d95fbf65613d1bf732fbdfb0d4.zip | |
Update UI tests
Diffstat (limited to 'src/test/ui/error-codes/E0221.stderr')
| -rw-r--r-- | src/test/ui/error-codes/E0221.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/error-codes/E0221.stderr b/src/test/ui/error-codes/E0221.stderr index 1e9db4c8e7e..735b31bc053 100644 --- a/src/test/ui/error-codes/E0221.stderr +++ b/src/test/ui/error-codes/E0221.stderr @@ -1,28 +1,28 @@ error[E0221]: ambiguous associated type `A` in bounds of `Self` --> $DIR/E0221.rs:21:16 | -15 | type A: T1; +LL | type A: T1; | ----------- ambiguous `A` from `Foo` ... -19 | type A: T2; +LL | type A: T2; | ----------- ambiguous `A` from `Bar` 20 | fn do_something() { -21 | let _: Self::A; +LL | let _: Self::A; | ^^^^^^^ ambiguous associated type `A` error[E0221]: ambiguous associated type `Err` in bounds of `Self` --> $DIR/E0221.rs:31:16 | -29 | type Err: T3; +LL | type Err: T3; | ------------- ambiguous `Err` from `My` 30 | fn test() { -31 | let _: Self::Err; +LL | let _: Self::Err; | ^^^^^^^^^ ambiguous associated type `Err` | note: associated type `Self` could derive from `std::str::FromStr` --> $DIR/E0221.rs:31:16 | -31 | let _: Self::Err; +LL | let _: Self::Err; | ^^^^^^^^^ error: aborting due to 2 previous errors |
