about summary refs log tree commit diff
path: root/src/libsyntax_ext
AgeCommit message (Collapse)AuthorLines
2016-02-11[breaking-change] don't glob export ast::Decl_ variantsOliver Schneider-2/+2
2016-02-11[breaking-change] don't glob import/export syntax::abi enum variantsOliver Schneider-3/+2
2016-02-11[breaking-change] don't glob export ast::BlockCheckMode variantsOliver Schneider-2/+2
2016-02-11[breaking-change] don't glob export ast::BinOp_Oliver Schneider-18/+16
2016-02-11[breaking-change] don't glob export ast::UnOp variantsOliver Schneider-1/+1
2016-02-03remove dead #[derive(FromPrimitive)] codeAlex Burka-145/+0
2016-01-26Auto merge of #31120 - alexcrichton:attribute-deny-warnings, r=brsonbors-2/+2
This commit removes the `-D warnings` flag being passed through the makefiles to all crates to instead be a crate attribute. We want these attributes always applied for all our standard builds, and this is more amenable to Cargo-based builds as well. Note that all `deny(warnings)` attributes are gated with a `cfg(stage0)` attribute currently to match the same semantics we have today
2016-01-24mk: Move from `-D warnings` to `#![deny(warnings)]`Alex Crichton-2/+2
This commit removes the `-D warnings` flag being passed through the makefiles to all crates to instead be a crate attribute. We want these attributes always applied for all our standard builds, and this is more amenable to Cargo-based builds as well. Note that all `deny(warnings)` attributes are gated with a `cfg(stage0)` attribute currently to match the same semantics we have today
2016-01-22Extended save-analysis to support generated code, alterned some spans in ↵Daniel Campbell-6/+6
format_args! and derive to maintain compatability
2015-12-31Cut out a bunch of Result and panictry! boilerplate from libsyntax.Nick Cameron-9/+9
[breaking-change] if you use any of the changed functions, you'll need to remove a try! or panictry!
2015-12-30use structured errorsNick Cameron-18/+6
2015-12-21Auto merge of #30352 - alexcrichton:new-snashots, r=nikomatsakisbors-2/+0
Lots of cruft to remove!
2015-12-21Auto merge of #30460 - Ms2ger:BindingMode, r=alexcrichtonbors-1/+1
2015-12-21Register new snapshotsAlex Crichton-2/+0
Lots of cruft to remove!
2015-12-20Stop re-exporting the ast::BindingMode variants.Ms2ger-1/+1
2015-12-19Auto merge of #30184 - petrochenkov:ascr, r=nikomatsakisbors-5/+24
This PR is a rebase of the original PR by @eddyb https://github.com/rust-lang/rust/pull/21836 with some unrebasable parts manually reapplied, feature gate added + type equality restriction added as described below. This implementation is partial because the type equality restriction is applied to all type ascription expressions and not only those in lvalue contexts. Thus, all difficulties with detection of these contexts and translation of coercions having effect in runtime are avoided. So, you can't write things with coercions like `let slice = &[1, 2, 3]: &[u8];`. It obviously makes type ascription less useful than it should be, but it's still much more useful than not having type ascription at all. In particular, things like `let v = something.iter().collect(): Vec<_>;` and `let u = t.into(): U;` work as expected and I'm pretty happy with these improvements alone. Part of https://github.com/rust-lang/rust/issues/23416
2015-12-18Require exact type equality + add testsVadim Petrochenkov-1/+1
+ Rebase fixes
2015-12-18Rollup merge of #30420 - petrochenkov:owned2, r=nrcManish Goregaokar-7/+5
Part of https://github.com/rust-lang/rust/pull/30095 not causing mysterious segfaults. r? @nrc
2015-12-18Rollup merge of #30384 - nrc:diagnostics, r=@nikomatsakisManish Goregaokar-3/+3
Should make it possible to add JSON or HTML errors. Also tidies up a lot.
2015-12-18Deprecate name `OwnedSlice` and don't use itVadim Petrochenkov-7/+5
2015-12-17Remove unused importsJeffrey Seyfried-1/+0
2015-12-17test errorsNick Cameron-1/+1
2015-12-17move error handling from libsyntax/diagnostics.rs to libsyntax/errors/*Nick Cameron-2/+2
Also split out emitters into their own module.
2015-12-16Add ExprType to HIR and make everything compileVadim Petrochenkov-3/+3
+ Apply parser changes manually + Add feature gate
2015-12-16Implement type ascription.Eduard Burtescu-4/+23
2015-12-15Mark libsyntax_ext unstableSeo Sanghyeon-0/+5
2015-12-15Fix custom deriving testsSeo Sanghyeon-1/+3
2015-12-15Move built-in syntax extensions to a separate crateSeo Sanghyeon-0/+5230