diff options
| author | Mohit Agarwal <mohit@sdf.org> | 2016-08-29 16:20:08 +0530 |
|---|---|---|
| committer | Mohit Agarwal <mohit@sdf.org> | 2016-08-29 16:20:08 +0530 |
| commit | d6fc2baa11f0fc5223d4e4b9f84e60ca60e64871 (patch) | |
| tree | 329653d0c5209a8decf835b77c2e2dbd6f93a08a /src/test | |
| parent | 86dde9bbda92c02c61282b5df5d38338a798ef3b (diff) | |
| download | rust-d6fc2baa11f0fc5223d4e4b9f84e60ca60e64871.tar.gz rust-d6fc2baa11f0fc5223d4e4b9f84e60ca60e64871.zip | |
Update E0260 to new error format
Updates #35515. Part of #35233. r? @jonathandturner
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/E0260.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0260.rs b/src/test/compile-fail/E0260.rs index d20829bf4d4..63647cb4103 100644 --- a/src/test/compile-fail/E0260.rs +++ b/src/test/compile-fail/E0260.rs @@ -9,8 +9,11 @@ // except according to those terms. extern crate collections; +//~^ NOTE previous import of `collections` here -mod collections { //~ ERROR E0260 +mod collections { +//~^ ERROR `collections` has already been imported in this module [E0260] +//~| NOTE `collections` already imported pub trait MyTrait { fn do_something(); } |
