parent
39f9d23b65
commit
07890c5c59
9 changed files with 100 additions and 100 deletions
|
@ -47,7 +47,7 @@ struct CheckAttrVisitor<'a, 'tcx: 'a> {
|
|||
impl<'a, 'tcx> CheckAttrVisitor<'a, 'tcx> {
|
||||
/// Check any attribute.
|
||||
fn check_attributes(&self, item: &hir::Item, target: Target) {
|
||||
self.tcx.target_features_enabled(self.tcx.hir.local_def_id(item.id));
|
||||
self.tcx.trans_fn_attrs(self.tcx.hir.local_def_id(item.id));
|
||||
|
||||
for attr in &item.attrs {
|
||||
if let Some(name) = attr.name() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue