diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2015-09-25 15:25:59 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2015-10-03 00:01:49 +0900 |
| commit | 61f5b2b0ca492a7eef9c362efb2108c77eac5bf8 (patch) | |
| tree | f2ec3bc19542ea79d9658b3cae9c146b5c00edf5 /src/libsyntax | |
| parent | 20cccfa67f0266fb6aa914c3fd3bd37d68c19d07 (diff) | |
| download | rust-61f5b2b0ca492a7eef9c362efb2108c77eac5bf8.tar.gz rust-61f5b2b0ca492a7eef9c362efb2108c77eac5bf8.zip | |
Check attribute usage
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/attr.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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" => { |
