diff options
| author | Jonathan Turner <jonathandturner@users.noreply.github.com> | 2016-08-11 06:33:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-11 06:33:57 -0700 |
| commit | e24c326400d4833b8a25596d0a529f07c809c6dd (patch) | |
| tree | 0b21d305edcfe61bbffbdee29b69f5d03f0e3b55 /src/test/compile-fail | |
| parent | 0fecdc59312aff11190bb1218420d09d59df1056 (diff) | |
| parent | 034df9478013dc05d06598c6e39494a8b518b004 (diff) | |
Rollup merge of #35375 - trixnz:update-error-326, r=jonathandturner
Update error format for E0326 Fixes #35335 as part of #35233 r? @jonathandturner
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/associated-const-impl-wrong-type.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/associated-const-impl-wrong-type.rs b/src/test/compile-fail/associated-const-impl-wrong-type.rs index 95508a31044..b3776091682 100644 --- a/src/test/compile-fail/associated-const-impl-wrong-type.rs +++ b/src/test/compile-fail/associated-const-impl-wrong-type.rs @@ -11,7 +11,7 @@ #![feature(associated_consts)] trait Foo { - const BAR: u32; + const BAR: u32; //~ NOTE original trait requirement } struct SignedBar; @@ -19,7 +19,7 @@ struct SignedBar; impl Foo for SignedBar { const BAR: i32 = -1; //~^ ERROR implemented const `BAR` has an incompatible type for trait [E0326] - //~| expected u32, found i32 + //~| NOTE expected u32, found i32 } fn main() {} |
