From 61f5b2b0ca492a7eef9c362efb2108c77eac5bf8 Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Fri, 25 Sep 2015 15:25:59 +0900 Subject: Check attribute usage --- src/libsyntax/attr.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index 5fe4220bd99..bd99d33222d 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -323,7 +323,6 @@ pub enum InlineAttr { /// Determine what `#[inline]` attribute is present in `attrs`, if any. pub fn find_inline_attr(diagnostic: Option<&SpanHandler>, attrs: &[Attribute]) -> InlineAttr { - // FIXME (#2809)---validate the usage of #[inline] and #[inline] attrs.iter().fold(InlineAttr::None, |ia,attr| { match attr.node.value.node { MetaWord(ref n) if *n == "inline" => { -- cgit 1.4.1-3-g733a5