diff options
| author | Roy Brunton <roy@flashtalking.com> | 2016-08-04 15:13:46 +0100 |
|---|---|---|
| committer | Roy Brunton <roy@flashtalking.com> | 2016-08-04 15:13:46 +0100 |
| commit | ee8d6b07091e762fbef8a3465806b48201ec5a2e (patch) | |
| tree | e6df31735ad12216a44ff4377b8757d63523ce3e /src/test | |
| parent | 40f3ee2a01ef24d57430726c098de905c7c6e04a (diff) | |
| download | rust-ee8d6b07091e762fbef8a3465806b48201ec5a2e.tar.gz rust-ee8d6b07091e762fbef8a3465806b48201ec5a2e.zip | |
Update error message for E0172
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/E0172.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0172.rs b/src/test/compile-fail/E0172.rs index 7011bf0e937..485a31d9666 100644 --- a/src/test/compile-fail/E0172.rs +++ b/src/test/compile-fail/E0172.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -fn foo(bar: i32+std::fmt::Display) {} //~ ERROR E0172 +fn foo(bar: i32+std::fmt::Display) {} + //~^ ERROR E0172 + //~| NOTE expected a trait fn main() { } |
