File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: e7211948a546596bbe058b4fd3748a24adecaf02
4
+ refs/heads/snap-stage3: ed20fcc4596c45aef37a1e8a13dd9fcd6e0e6dd5
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -4196,7 +4196,7 @@ impl Parser {
4196
4196
4197
4197
// Do not allow visibility to be specified.
4198
4198
if visibility != ast:: inherited {
4199
- self . obsolete ( * self . span , ObsoleteExternVisibility ) ;
4199
+ self . obsolete ( * self . last_span , ObsoleteExternVisibility ) ;
4200
4200
}
4201
4201
4202
4202
let abis = opt_abis. get_or_default ( AbiSet :: C ( ) ) ;
Original file line number Diff line number Diff line change @@ -63,4 +63,14 @@ fn obsolete_moves() {
63
63
//~^ ERROR obsolete syntax: binary move
64
64
}
65
65
66
+ extern mod obsolete_name {
67
+ //~^ ERROR obsolete syntax: named external module
68
+ fn bar ( ) ;
69
+ }
70
+
71
+ pub extern {
72
+ //~^ ERROR obsolete syntax: `pub extern`
73
+ pub fn bar ( ) ;
74
+ }
75
+
66
76
fn main ( ) { }
You can’t perform that action at this time.
0 commit comments