Merge remote-tracking branch 'upstream/master' into rustup
This commit is contained in:
commit
b5bf09e57a
156 changed files with 2118 additions and 522 deletions
|
|
@ -96,7 +96,7 @@ impl<'tcx> LateLintPass<'tcx> for MissingInline {
|
|||
return;
|
||||
}
|
||||
match it.kind {
|
||||
hir::ItemKind::Fn{ .. } => {
|
||||
hir::ItemKind::Fn { .. } => {
|
||||
let desc = "a function";
|
||||
let attrs = cx.tcx.hir().attrs(it.hir_id());
|
||||
check_missing_inline_attrs(cx, attrs, it.span, desc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue