summary refs log tree commit diff
path: root/src/libsyntax/attr.rs
AgeCommit message (Expand)AuthorLines
2018-06-08Deny #[cfg] and #[cfg_attr] on generic parameters.kennytm-2/+18
2018-05-03Auto merge of #50030 - flip1995:rfc2103, r=petrochenkovbors-49/+101
2018-05-03Auto merge of #50391 - nnethercote:escape_unicode, r=eddybbors-4/+1
2018-05-03Use escape_default() for strings in LitKind::token().Nicholas Nethercote-4/+1
2018-05-02fix testsflip1995-15/+15
2018-05-02make it compile againflip1995-51/+32
2018-05-02Change Attribute::name to return the last segmentSeiichi Uchida-4/+7
2018-05-02Gate tool_attributes featureSeiichi Uchida-0/+10
2018-05-02Remove Option from the return type of Attribute::name()Seiichi Uchida-5/+4
2018-05-02Allow Path for name of MetaItemSeiichi Uchida-40/+99
2018-05-01Reduce the maximum alignment to repr(align(1 << 29))varkor-3/+3
2018-04-29Add error when using repr(align=x) instead of repr(align(x))varkor-0/+24
2018-04-11Implementation of `#[repr(packed(n))]` RFC 1399.Cameron Hart-16/+30
2018-04-06Use `Ident` instead of `Name` in `MetaItem`Vadim Petrochenkov-63/+43
2018-04-06Remove more duplicated spansVadim Petrochenkov-3/+5
2018-04-06Get rid of `SpannedIdent`Vadim Petrochenkov-1/+1
2018-04-06Rename `PathSegment::identifier` to `ident`Vadim Petrochenkov-3/+3
2018-03-18Initial implementation of RFC 2151, Raw IdentifiersLymia Aluysia-6/+7
2018-03-14Remove syntax and syntax_pos thread localsJohn Kåre Alsaker-18/+17
2018-03-06Add `inline` to `TransFnAttrs`Wesley Wiser-45/+1
2018-02-20make `#[unwind]` attribute specify expectations more clearlyNiko Matsakis-0/+45
2018-01-16Implement repr(transparent)Robin Kruppe-1/+4
2018-01-07Rename ReprExtern to ReprC, and similarily rename a few other fields and loca...Robin Kruppe-3/+2
2018-01-04rustc: use {U,I}size instead of {U,I}s shorthands.Eduard-Mihai Burtescu-2/+2
2017-12-21Make mk_attr_id thread safeJohn Kåre Alsaker-9/+7
2017-12-09Use Try syntax for Option in place of macros or matchMatt Brubeck-8/+3
2017-11-21make with_unsugared_doc preserve is_sugared_docQuietMisdreavus-4/+6
2017-09-20Fix ICEscalexm-0/+14
2017-09-17rustc: Move some attr methods to queriesAlex Crichton-24/+0
2017-09-13honor #[rustc_const_unstable] attributesAlex Burka-14/+65
2017-09-03implement improved on_unimplemented directivesAriel Ben-Yehuda-7/+18
2017-08-30Make fields of `Span` privateVadim Petrochenkov-7/+7
2017-08-28feature error span on attr. for fn_must_use, SIMD/align, macro reëxportZack M. Davis-0/+4
2017-08-17Include the closing paren to the span of ast::NestedMetaItemSeiichi Uchida-11/+6
2017-08-17Use respan()Seiichi Uchida-3/+3
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-11/+11
2017-08-11Fix some typosBastien Orivel-1/+1
2017-07-08Lower alignment limit down to 2^31 - 1 (from LLVM)Lee Bousfield-3/+3
2017-07-08Raised alignment limit from 2^15 to 2^31Lee Bousfield-5/+5
2017-06-26Add `LazyTokenStream`.Jeffrey Seyfried-2/+2
2017-05-18Add an option to the parser to avoid parsing out of line modulesNick Cameron-1/+1
2017-05-12Fix some clippy warnings in libsyntaxAndre Bogus-8/+9
2017-05-08Remove need for &format!(...) or &&"" dances in `span_label` callsOliver Schneider-2/+1
2017-04-21Added feature gate, updated error messages and tests.Cameron Hart-4/+9
2017-04-21Implementation of repr struct alignment RFC 1358.Cameron Hart-6/+44
2017-03-30Improve `Path` spans.Jeffrey Seyfried-3/+4
2017-03-29Refactor how spans are combined in the parser.Jeffrey Seyfried-8/+7
2017-03-14Liberalize attributes.Jeffrey Seyfried-2/+44
2017-03-14Refactor `Attribute` to use `Path` and `TokenStream` instead of `MetaItem`.Jeffrey Seyfried-37/+269
2017-02-25rustc_typeck: hook up collect and item/body check to on-demand.Eduard-Mihai Burtescu-23/+0