diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-04-25 00:12:12 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-04-29 18:34:40 +0000 |
| commit | 5a4e0b14e39989f327f9f8103cf38ec43cd22131 (patch) | |
| tree | ff5952b977c7ad7bc180f9069900d62ee61cec9b /src/test/compile-fail/const-pattern-irrefutable.rs | |
| parent | 60c8f7dbf5788f1c9f3a27be2e7be28ecf7817ff (diff) | |
| download | rust-5a4e0b14e39989f327f9f8103cf38ec43cd22131.tar.gz rust-5a4e0b14e39989f327f9f8103cf38ec43cd22131.zip | |
Remove use of `ast_map.span_if_local()` and improve diagnostics
Diffstat (limited to 'src/test/compile-fail/const-pattern-irrefutable.rs')
| -rw-r--r-- | src/test/compile-fail/const-pattern-irrefutable.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/const-pattern-irrefutable.rs b/src/test/compile-fail/const-pattern-irrefutable.rs index bc395af9622..825c39011fc 100644 --- a/src/test/compile-fail/const-pattern-irrefutable.rs +++ b/src/test/compile-fail/const-pattern-irrefutable.rs @@ -9,8 +9,8 @@ // except according to those terms. mod foo { - pub const b: u8 = 2; //~ NOTE constant defined here - pub const d: u8 = 2; //~ NOTE constant defined here + pub const b: u8 = 2; + pub const d: u8 = 2; } use foo::b as c; //~ NOTE constant imported here |
