| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-06-28 | Auto merge of #42709 - stepancheg:discriminant-hash, r=jseyfried | bors | -4/+5 | |
| deriv(Hash) for single-variant enum should not hash discriminant Fixes #39137 | ||||
| 2017-06-23 | Removed as many "```ignore" as possible. | kennytm | -5/+7 | |
| Replaced by adding extra imports, adding hidden code (`# ...`), modifying examples to be runnable (sorry Homura), specifying non-Rust code, and converting to should_panic, no_run, or compile_fail. Remaining "```ignore"s received an explanation why they are being ignored. | ||||
| 2017-06-16 | deriv(Hash) for single-variant enum should not hash discriminant | Stepan Koltsov | -4/+5 | |
| Fixes #39137 | ||||
| 2017-05-25 | Hygienize lifetimes. | Jeffrey Seyfried | -6/+6 | |
| 2017-04-24 | support `default impl` for specialization | Gianni Ciccarelli | -0/+1 | |
| this commit implements the first step of the `default impl` feature: all items in a `default impl` are (implicitly) `default` and hence specializable. In order to test this feature I've copied all the tests provided for the `default` method implementation (in run-pass/specialization and compile-fail/specialization directories) and moved the `default` keyword from the item to the impl. See referenced issue for further info | ||||
| 2017-04-21 | Implementation of repr struct alignment RFC 1358. | Cameron Hart | -1/+1 | |
| The main changes around rustc::ty::Layout::struct and rustc_trans:adt: * Added primitive_align field which stores alignment before repr align * Always emit field padding when generating the LLVM struct fields * Added methods for adjusting field indexes from the layout index to the LLVM struct field index The main user of this information is rustc_trans::adt::struct_llfields which determines the LLVM fields to be used by LLVM, including padding fields. | ||||
| 2017-03-29 | Merge `ExpnId` and `SyntaxContext`. | Jeffrey Seyfried | -6/+6 | |
| 2017-03-14 | Refactor `Attribute` to use `Path` and `TokenStream` instead of `MetaItem`. | Jeffrey Seyfried | -1/+1 | |
| 2017-02-25 | rustc_typeck: hook up collect and item/body check to on-demand. | Eduard-Mihai Burtescu | -1/+1 | |
| 2017-01-17 | Use resizable Vec instead of P<[T]> in AST | Vadim Petrochenkov | -6/+5 | |
| 2017-01-16 | AST/HIR: Replace Path with Type in WhereEqPredicate | Vadim Petrochenkov | -2/+2 | |
| 2017-01-11 | syntax: struct field attributes and cfg | Benjamin Saunders | -0/+1 | |
| 2016-12-30 | Fix rebase fallout | Simonas Kazlauskas | -0/+1 | |
| This commit includes manual merge conflict resolution changes from a rebase by @est31. | ||||
| 2016-12-30 | Such large. Very 128. Much bits. | Simonas Kazlauskas | -1/+2 | |
| This commit introduces 128-bit integers. Stage 2 builds and produces a working compiler which understands and supports 128-bit integers throughout. The general strategy used is to have rustc_i128 module which provides aliases for iu128, equal to iu64 in stage9 and iu128 later. Since nowhere in rustc we rely on large numbers being supported, this strategy is good enough to get past the first bootstrap stages to end up with a fully working 128-bit capable compiler. In order for this strategy to work, number of locations had to be changed to use associated max_value/min_value instead of MAX/MIN constants as well as the min_value (or was it max_value?) had to be changed to use xor instead of shift so both 64-bit and 128-bit based consteval works (former not necessarily producing the right results in stage1). This commit includes manual merge conflict resolution changes from a rebase by @est31. | ||||
| 2016-12-22 | Refactor how global paths are represented (for both ast and hir). | Jeffrey Seyfried | -7/+4 | |
| 2016-12-06 | annotate stricter lifetimes on LateLintPass methods to allow them to forward ↵ | Oliver Schneider | -2/+2 | |
| to a Visitor | ||||
| 2016-11-20 | Move `syntax::util::interner` -> `syntax::symbol`, cleanup. | Jeffrey Seyfried | -4/+4 | |
| 2016-11-20 | Refactor `MetaItemKind` to use `Name`s instead of `InternedString`s. | Jeffrey Seyfried | -8/+8 | |
| 2016-10-29 | Fix more spans in deriving::generic | Nick Cameron | -2/+3 | |
| 2016-10-28 | Give variant spans used in derives the correct expansion id | Nick Cameron | -1/+2 | |
| This fixes a problem in save-analysis where it mistakes a path to a variant as the variant itself. | ||||
| 2016-09-23 | Add attribute support to generic lifetime and type parameters. | Felix S. Klock II | -4/+5 | |
| I am using `ThinAttributes` rather than a vector for attributes attached to generics, since I expect almost all lifetime and types parameters to not carry any attributes. | ||||
| 2016-09-20 | rustc_metadata: go only through rustc_serialize in astencode. | Eduard Burtescu | -11/+11 | |
| 2016-09-10 | Improve shallow `Clone` deriving | Vadim Petrochenkov | -7/+20 | |
| 2016-09-04 | Replace `_, _` with `..` | Vadim Petrochenkov | -4/+4 | |
| 2016-09-03 | Support deriving some traits for unions | Vadim Petrochenkov | -1/+10 | |
| 2016-08-30 | Future proof `libsyntax_ext` for `union`. | Jeffrey Seyfried | -0/+3 | |
| 2016-08-28 | Rollup merge of #35917 - jseyfried:remove_attr_ext_traits, r=nrc | Jeffrey Seyfried | -1/+0 | |
| syntax: Remove traits `AttrMetaMethods`, `AttributeMethods`, and `AttrNestedMetaItemMethods` | ||||
| 2016-08-28 | Rollup merge of #35850 - SergioBenitez:master, r=nrc | Jeffrey Seyfried | -1/+1 | |
| Implement RFC#1559: allow all literals in attributes Implemented rust-lang/rfcs#1559, tracked by #34981. | ||||
| 2016-08-28 | Rollup merge of #35728 - petrochenkov:empderive, r=manishearth | Jeffrey Seyfried | -23/+29 | |
| Fix #[derive] for empty tuple structs/variants This was missing from https://github.com/rust-lang/rust/pull/35138 | ||||
| 2016-08-28 | Rollup merge of #35480 - KiChjang:e0379-bonus, r=nikomatsakis | Jeffrey Seyfried | -2/+3 | |
| Move E0379 check from typeck to ast validation Part of #35233. Extension of #35338, #35364. Fixes #35404. | ||||
| 2016-08-27 | Change Constness to Spanned<Constness> | Keith Yeung | -2/+3 | |
| 2016-08-25 | Refactor away `AttrMetaMethods`. | Jeffrey Seyfried | -1/+0 | |
| 2016-08-25 | Implement RFC#1559: allow all literals in attributes. | Sergio Benitez | -1/+1 | |
| 2016-08-18 | Add Span field for Generics structs | Guillaume Gomez | -3/+6 | |
| 2016-08-18 | Split `AstBuilder::pat_enum` into `pat_tuple_struct` and `pat_path` | Vadim Petrochenkov | -20/+26 | |
| 2016-08-18 | Fix #[derive] for empty tuple structs/variants | Vadim Petrochenkov | -3/+3 | |
| 2016-08-12 | run rustfmt on libsyntax_ext folder | Srinivas Reddy Thatiparthy | -63/+70 | |
| 2016-07-19 | Run rustfmt on libsyntax_ext/deriving folder | Srinivas Reddy Thatiparthy | -351/+382 | |
| 2016-07-03 | prefer `if let` to match with `None => {}` arm in some places | Zack M. Davis | -6/+3 | |
| This is a spiritual succesor to #34268/8531d581, in which we replaced a number of matches of None to the unit value with `if let` conditionals where it was judged that this made for clearer/simpler code (as would be recommended by Manishearth/rust-clippy's `single_match` lint). The same rationale applies to matches of None to the empty block. | ||||
| 2016-06-29 | Disallow `derive` on items with type macros | Jeffrey Seyfried | -4/+14 | |
| 2016-06-26 | Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb | Jeffrey Seyfried | -2/+2 | |
| To allow these braced macro invocation, this PR removes the optional expression from `ast::Block` and instead uses a `StmtKind::Expr` at the end of the statement list. Currently, braced macro invocations in blocks can expand into statements (and items) except when they are last in a block, in which case they can only expand into expressions. For example, ```rust macro_rules! make_stmt { () => { let x = 0; } } fn f() { make_stmt! {} //< This is OK... let x = 0; //< ... unless this line is commented out. } ``` Fixes #34418. | ||||
| 2016-06-26 | Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc | Jeffrey Seyfried | -2/+2 | |
| Miscellaneous low priority cleanup in `libsyntax`. | ||||
| 2016-06-23 | Refactor away duplicate method `ecx.block_all()` | Jeffrey Seyfried | -1/+1 | |
| 2016-06-23 | Remove field `expr` of `ast::Block` | Jeffrey Seyfried | -2/+2 | |
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -4/+5 | |
| 2016-06-14 | Remove the type parameter from `syntax::visit::Visitor` | Jeffrey Seyfried | -2/+2 | |
| 2016-05-28 | Refactor away `set_expn_info` | Jeffrey Seyfried | -9/+2 | |
| 2016-05-28 | Fix spans of generated `#[derive_*]` attributes | Jeffrey Seyfried | -14/+3 | |
| 2016-05-25 | Add a new AST-only type variant `ImplicitSelf` | Vadim Petrochenkov | -3/+0 | |
| 2016-05-25 | Remove ExplicitSelf from AST | Vadim Petrochenkov | -30/+22 | |
