Skip to content

Commit abed1d7

Browse files
committed
Fix compilation
1 parent bd26013 commit abed1d7

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/bin/cargo_semver.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![feature(rustc_private)]
2-
#![feature(uniform_paths)]
32
#![feature(set_stdio)]
43

54
extern crate getopts;
@@ -232,7 +231,7 @@ mod cli {
232231
"use a `name:version` string as current/new crate",
233232
"NAME:VERSION",
234233
);
235-
opts.optopt("T", "target", "Build for the target triple", "<TRIPLE>");
234+
opts.optopt("", "target", "Build for the target triple", "<TRIPLE>");
236235
opts
237236
}
238237

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![feature(rustc_diagnostic_macros)]
22
#![feature(rustc_private)]
3-
#![feature(uniform_paths)]
43

54
extern crate rustc;
65
extern crate syntax;

src/mapping.rs

+1
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ impl NameMapping {
331331
ToolMod => Some(&mut self.type_map),
332332
Fn(_) |
333333
Const(_) |
334+
ConstParam(_) |
334335
Static(_, _) |
335336
StructCtor(_, _) |
336337
SelfCtor(_) |

0 commit comments

Comments
 (0)