Skip to content

Commit

Permalink
fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
tommilligan committed Oct 3, 2018
1 parent c47b948 commit 858a902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn match_def_path(tcx: TyCtxt<'_, '_, '_>, def_id: DefId, path: &[&str]) ->

let mut apb = AbsolutePathBuffer { names: vec![] };

tcx.push_item_path(&mut apb, def_id, false);
tcx.push_item_path(&mut apb, def_id);

apb.names.len() == path.len()
&& apb.names
Expand Down

0 comments on commit 858a902

Please sign in to comment.