Skip to content

Commit

Permalink
Update ident API usage in cross checking instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rinon committed Oct 7, 2019
1 parent 69187c1 commit 1c603a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cross-checks/rust-checks/config/src/attr/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn get_item_args(mi: &ast::MetaItem) -> ArgList<Ident> {
}

fn parse_xcheck_type(name: &Ident, arg: &ArgValue<Ident>) -> XCheckType {
match name.as_str().get() {
match name.as_str() {
"default" => XCheckType::Default,
"none" => XCheckType::None,
"disabled" => XCheckType::Disabled,
Expand Down

0 comments on commit 1c603a2

Please sign in to comment.