summary refs log tree commit diff
path: root/src/libsyntax/attr.rs
AgeCommit message (Collapse)AuthorLines
2016-07-25Adressed PR comments.cgswords-11/+10
2016-07-25General MetaItem encapsulation rewrites.cgswords-14/+80
2016-07-11Move E0533 to E0558 (because of external change)Guillaume Gomez-1/+1
2016-07-11Add E0534 error explanationGuillaume Gomez-1/+1
2016-07-02Rollup merge of #34531 - GuillaumeGomez:libsyntax_err_codes, r=jonathandturnerManish Goregaokar-40/+65
Add error codes in libsyntax r? @jonathandturner Fixes #34526
2016-06-29Add error codes in libsyntaxggomez-40/+65
2016-06-28cleanup: don't count attributes on an item in a statement position as on the ↵Jeffrey Seyfried-2/+2
statement
2016-06-26Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,ManishearthJeffrey Seyfried-77/+4
Generalize and abstract `ThinAttributes` to `ThinVec<Attribute>`.
2016-06-26Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddybJeffrey Seyfried-27/+16
Refactor away `ast::Decl`, refactor `ast::Stmt`, and rename `ast::ExprKind::Again` to `ast::ExprKind::Continue`.
2016-06-26Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrcJeffrey Seyfried-15/+0
Miscellaneous low priority cleanup in `libsyntax`.
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-2/+2
2016-06-19Generalize and abstract `ThinAttributes`Jeffrey Seyfried-80/+7
2016-06-17Fix falloutJeffrey Seyfried-27/+17
2016-06-16Simplify gated cfg checkingJeffrey Seyfried-20/+13
2016-06-14Refactor away `WithAttrs` traitJeffrey Seyfried-15/+0
2016-05-26Add and use `HasAttrs` traitJeffrey Seyfried-57/+84
2016-04-26allow InternedString to be compared to &str directlyOliver Schneider-3/+3
2016-02-12Use more autoderef in libsyntaxJonas Schievink-4/+4
2016-02-11Pass through diagnostic handler insteadarcnmx-5/+5
2016-02-11Use find_export_name_attr instead of string literalarcnmx-4/+4
2016-02-11Remove link_section and linkage as extern indicatorsarcnmx-2/+0
2016-02-11Only retain external static symbols across LTOarcnmx-0/+7
2016-02-11[breaking-change] don't glob export ast::StrStyle variantsOliver 'ker' Schneider-2/+2
2016-02-11[breaking-change] don't glob export ast::MetaItem_Oliver 'ker' Schneider-22/+21
2016-02-11[breaking-change] don't pub export ast::Stmt_ variantsOliver Schneider-6/+6
2016-02-11[breaking-change] don't pub export ast::Lit_ variantsOliver Schneider-3/+3
2016-02-11[breaking-change] don't glob export ast::{UintTy, IntTy} variantsOliver Schneider-15/+15
2016-02-11[breaking-change] don't glob export ast::Decl_ variantsOliver Schneider-3/+3
2015-12-30use structured errorsNick Cameron-2/+4
2015-12-18Rollup merge of #30384 - nrc:diagnostics, r=@nikomatsakisManish Goregaokar-14/+14
Should make it possible to add JSON or HTML errors. Also tidies up a lot.
2015-12-17Remove unused importsJeffrey Seyfried-1/+1
2015-12-17move error handling from libsyntax/diagnostics.rs to libsyntax/errors/*Nick Cameron-14/+14
Also split out emitters into their own module.
2015-12-12Implement `#[deprecated]` attribute (RFC 1270)Vadim Petrochenkov-10/+81
2015-11-30Simplyfied map_thin_attrs()Marvin Löbel-19/+3
2015-11-26Added stmt_expr_attribute feature gateMarvin Löbel-9/+19
2015-11-26Moved and refactored ThinAttributesMarvin Löbel-6/+96
2015-11-26Add syntax support for attributes on expressions and all syntaxMarvin Löbel-0/+82
nodes in statement position. Extended #[cfg] folder to allow removal of statements, and of expressions in optional positions like expression lists and trailing block expressions. Extended lint checker to recognize lint levels on expressions and locals.
2015-11-20Rename #[deprecated] to #[rustc_deprecated]Vadim Petrochenkov-5/+5
2015-11-10Use lifetime elisionSeo Sanghyeon-6/+6
2015-10-13Refactor attr::StabilityVadim Petrochenkov-123/+171
Stricter checking + enforcement of invariants at compile time
2015-10-03Check attribute usageSeo Sanghyeon-1/+0
2015-10-01Stop re-exporting AttrStyle's variants and rename them.Ms2ger-3/+3
2015-08-17feature gate `cfg(target_feature)`.Huon Wilson-5/+10
This is theoretically a breaking change, but GitHub search turns up no uses of it, and most non-built-in cfg's are passed via cargo features, which look like `feature = "..."`, and hence can't overlap.
2015-08-17Implement `repr(simd)` as an alias for `#[simd]`.Huon Wilson-1/+4
2015-08-15syntax: Require issues for unstable featuresAlex Crichton-4/+3
This turns an `#[unstable]` tag without an `issue` annotation into a hard error to ensure that we've always got a tracking issue for unstable features in the standard library.
2015-08-12Remove all unstable deprecated functionalityAlex Crichton-7/+17
This commit removes all unstable and deprecated functions in the standard library. A release was recently cut (1.3) which makes this a good time for some spring cleaning of the deprecated functions.
2015-07-07Auto merge of #26747 - huonw:stability-issue, r=alexcrichtonbors-23/+45
This takes an issue number and points people to it in the printed error message. This commit does not make it an error to have no `issue` field.
2015-07-06rustc: implement `unstable(issue = "nnn")`.Huon Wilson-23/+45
This takes an issue number and points people to it in the printed error message. This commit does not make it an error to have no `issue` field.
2015-07-01fallout of bitvec/bitset deprecationAlexis Beingessner-0/+3
2015-06-23Auto merge of #26061 - Gankro:inherit-dep, r=brsonbors-3/+3
Uncertain if this is the desired effect/strategy/testing. r? @aturon