diff options
| author | Jonathan Turner <jturner@mozilla.com> | 2016-08-19 16:05:37 -0700 |
|---|---|---|
| committer | Jonathan Turner <jturner@mozilla.com> | 2016-08-19 16:05:37 -0700 |
| commit | 54d0acd2fc6414930ff27c01c8640f4e9c666ad5 (patch) | |
| tree | a3911442682c1c5a86b9dd4dfb8e7bb97825dfda /src/test/compile-fail/impl-wrong-item-for-trait.rs | |
| parent | 413ada30402f823a86a75578afc63d07179f6a23 (diff) | |
| download | rust-54d0acd2fc6414930ff27c01c8640f4e9c666ad5.tar.gz rust-54d0acd2fc6414930ff27c01c8640f4e9c666ad5.zip | |
wording fixes in error messages
Diffstat (limited to 'src/test/compile-fail/impl-wrong-item-for-trait.rs')
| -rw-r--r-- | src/test/compile-fail/impl-wrong-item-for-trait.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/impl-wrong-item-for-trait.rs b/src/test/compile-fail/impl-wrong-item-for-trait.rs index e0ea1a4cac5..388c9a1729c 100644 --- a/src/test/compile-fail/impl-wrong-item-for-trait.rs +++ b/src/test/compile-fail/impl-wrong-item-for-trait.rs @@ -12,9 +12,9 @@ trait Foo { fn bar(&self); - //~^ NOTE original trait requirement - //~| NOTE original trait requirement - const MY_CONST: u32; //~ NOTE original trait requirement + //~^ NOTE item in trait + //~| NOTE item in trait + const MY_CONST: u32; //~ NOTE item in trait } pub struct FooConstForMethod; |
