Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Fix compilation #92

Merged
merged 1 commit into from
Feb 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/bin/cargo_semver.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![feature(rustc_private)]
#![feature(uniform_paths)]
#![feature(set_stdio)]

extern crate getopts;
Expand Down Expand Up @@ -232,7 +231,7 @@ mod cli {
"use a `name:version` string as current/new crate",
"NAME:VERSION",
);
opts.optopt("T", "target", "Build for the target triple", "<TRIPLE>");
opts.optopt("", "target", "Build for the target triple", "<TRIPLE>");
opts
}

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![feature(rustc_diagnostic_macros)]
#![feature(rustc_private)]
#![feature(uniform_paths)]

extern crate rustc;
extern crate syntax;
Expand Down
1 change: 1 addition & 0 deletions src/mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ impl NameMapping {
ToolMod => Some(&mut self.type_map),
Fn(_) |
Const(_) |
ConstParam(_) |
Static(_, _) |
StructCtor(_, _) |
SelfCtor(_) |
Expand Down