diff options
| author | bors <bors@rust-lang.org> | 2013-07-27 05:25:34 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-27 05:25:34 -0700 |
| commit | ed20fcc4596c45aef37a1e8a13dd9fcd6e0e6dd5 (patch) | |
| tree | 497aad16471137365b501ea6c091d6a556f707ee /src/libsyntax/parse | |
| parent | e7211948a546596bbe058b4fd3748a24adecaf02 (diff) | |
| parent | 2a18c29d67943e284d89b14a7a26202a7dd37f9b (diff) | |
| download | rust-ed20fcc4596c45aef37a1e8a13dd9fcd6e0e6dd5.tar.gz rust-ed20fcc4596c45aef37a1e8a13dd9fcd6e0e6dd5.zip | |
auto merge of #8060 : Blei/rust/fix-obsolete-extern-visibility-span, r=pcwalton
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index bb3c185c2a9..dc42b4bdb80 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -4196,7 +4196,7 @@ impl Parser { // Do not allow visibility to be specified. if visibility != ast::inherited { - self.obsolete(*self.span, ObsoleteExternVisibility); + self.obsolete(*self.last_span, ObsoleteExternVisibility); } let abis = opt_abis.get_or_default(AbiSet::C()); |
