update clippy
This commit is contained in:
parent
bae84a484c
commit
5ee1b18a14
12 changed files with 28 additions and 46 deletions
|
@ -2184,7 +2184,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: Remove this function.
|
||||
// FIXME(@lcnr): Remove this function.
|
||||
pub fn get_attrs_unchecked(self, did: DefId) -> &'tcx [ast::Attribute] {
|
||||
if let Some(did) = did.as_local() {
|
||||
self.hir().attrs(self.hir().local_def_id_to_hir_id(did))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue