Skip to content

Commit

Permalink
Cargo update
Browse files Browse the repository at this point in the history
Update `rustc-ap-*` crates to 373.0.0.
  • Loading branch information
topecongiro committed Feb 14, 2019
1 parent 1ae0326 commit 9df1ed6
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 57 deletions.
104 changes: 50 additions & 54 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ env_logger = "0.6"
getopts = "0.2"
derive-new = "0.5"
cargo_metadata = "0.7"
rustc-ap-rustc_target = "366.0.0"
rustc-ap-syntax = "366.0.0"
rustc-ap-syntax_pos = "366.0.0"
rustc-ap-rustc_target = "373.0.0"
rustc-ap-syntax = "373.0.0"
rustc-ap-syntax_pos = "373.0.0"
failure = "0.1.3"
bytecount = "0.5"
unicode-width = "0.1.5"
Expand Down
1 change: 1 addition & 0 deletions src/spanned.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ impl Spanned for ast::GenericArg {
match *self {
ast::GenericArg::Lifetime(ref lt) => lt.ident.span,
ast::GenericArg::Type(ref ty) => ty.span(),
ast::GenericArg::Const(..) => unreachable!(), // FIXME(#3336)
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ impl<'a> SegmentParam<'a> {
match arg {
ast::GenericArg::Lifetime(ref lt) => SegmentParam::LifeTime(lt),
ast::GenericArg::Type(ref ty) => SegmentParam::Type(ty),
ast::GenericArg::Const(..) => unreachable!(), // FIXME(#3336)
}
}
}
Expand Down Expand Up @@ -463,6 +464,7 @@ impl Rewrite for ast::GenericArg {
match *self {
ast::GenericArg::Lifetime(ref lt) => lt.rewrite(context, shape),
ast::GenericArg::Type(ref ty) => ty.rewrite(context, shape),
ast::GenericArg::Const(..) => unreachable!(), // FIXME(#3336)
}
}
}
Expand Down

0 comments on commit 9df1ed6

Please sign in to comment.