| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-09-15 | Avoid loading and parsing unconfigured non-inline modules. | Jeffrey Seyfried | -10/+19 | |
| 2016-09-14 | Rollup merge of #36396 - athulappadan:Default-docs, r=bluss | Guillaume Gomez | -0/+2 | |
| Documentation of what Default does for each type Addresses #36265 I haven't changed the following types due to doubts: 1)src/libstd/ffi/c_str.rs 2)src/libcore/iter/sources.rs 3)src/libcore/hash/mod.rs 4)src/libcore/hash/mod.rs 5)src/librustc/middle/privacy.rs r? @steveklabnik | ||||
| 2016-09-14 | Remove unused Token::to_binop function. | Nicholas Nethercote | -26/+1 | |
| 2016-09-13 | Remove parsing of obsolete pre-1.0 syntaxes | Vadim Petrochenkov | -44/+4 | |
| 2016-09-13 | Differentiate between monotonic and non-monotonic expansion and | Jeffrey Seyfried | -15/+31 | |
| only assign node ids during monotonic expansion. | ||||
| 2016-09-13 | Expand generated test harnesses and macro registries. | Jeffrey Seyfried | -15/+15 | |
| 2016-09-13 | Remove scope placeholders from the crate root. | Jeffrey Seyfried | -2/+13 | |
| 2016-09-13 | Perform node id assignment and `macros_at_scope` construction during | Jeffrey Seyfried | -9/+79 | |
| the `InvocationCollector` and `PlaceholderExpander` folds. | ||||
| 2016-09-13 | Move macro resolution into `librustc_resolve`. | Jeffrey Seyfried | -349/+150 | |
| 2016-09-13 | Rewrite the unit tests in `ext/expand.rs` as a `compile-fail` test. | Jeffrey Seyfried | -107/+0 | |
| 2016-09-13 | Refactor `ExtCtxt` to use a `Resolver` instead of a `MacroLoader`. | Jeffrey Seyfried | -15/+15 | |
| 2016-09-13 | Refactor `noop_fold_stmt_kind` out of `noop_fold_stmt`. | Jeffrey Seyfried | -37/+13 | |
| 2016-09-13 | Avoid needless reexpansions. | Jeffrey Seyfried | -5/+10 | |
| 2016-09-12 | crate-ify compiler-rt into compiler-builtins | Jorge Aparicio | -0/+10 | |
| libcompiler-rt.a is dead, long live libcompiler-builtins.rlib This commit moves the logic that used to build libcompiler-rt.a into a compiler-builtins crate on top of the core crate and below the std crate. This new crate still compiles the compiler-rt instrinsics using gcc-rs but produces an .rlib instead of a static library. Also, with this commit rustc no longer passes -lcompiler-rt to the linker. This effectively makes the "no-compiler-rt" field of target specifications a no-op. Users of `no_std` will have to explicitly add the compiler-builtins crate to their crate dependency graph *if* they need the compiler-rt intrinsics. Users of the `std` have to do nothing extra as the std crate depends on compiler-builtins. Finally, this a step towards lazy compilation of std with Cargo as the compiler-rt intrinsics can now be built by Cargo instead of having to be supplied by the user by some other method. closes #34400 | ||||
| 2016-09-12 | Auto merge of #36354 - mikhail-m1:master, r=jonathandturner | bors | -5/+5 | |
| fix span for errors E0537, E0535 & E0536 fix #36182 as part of #35233 | ||||
| 2016-09-12 | Auto merge of #36414 - nnethercote:char_lit, r=jseyfried | bors | -19/+16 | |
| Improve char_lit's readability and speed This is my first contribution to rustc. Please let me know if I've done anything wrong. (I ran `make tidy` before making the pull request.) | ||||
| 2016-09-12 | Lazily construct panic messages in char_lit(). | Nicholas Nethercote | -5/+7 | |
| This reduces the time taken to run `rustc -Zparse-only rustc-benchmarks/issue-32278-big-array-of-strings` from 0.18s to 0.15s on my machine, and reduces the number of instructions (as measured by Cachegrind) from 1.34B to 1.01B. With the change applied, the time to fully compile that benchmark is 1.96s, so this is a 1.5% improvement. | ||||
| 2016-09-12 | Avoid an unnecessary intermediate value in char_lit(). | Nicholas Nethercote | -14/+9 | |
| This makes the function more concise and easier to understand. | ||||
| 2016-09-11 | Documentation for default types modified | athulappadan | -1/+1 | |
| 2016-09-11 | Documentation of what does for each type | athulappadan | -0/+2 | |
| 2016-09-10 | Improve `Eq` deriving | Vadim Petrochenkov | -0/+18 | |
| 2016-09-10 | fix span for errors E0537, E0535 & E0536 | Mikhail Modin | -5/+5 | |
| 2016-09-09 | Auto merge of #36332 - llogiq:static_consts_feature, r=nikomatsakis | bors | -0/+3 | |
| add static_in_const feature gate also updates tests and deletes the spurious .bk files I inadvertently added last time. r? @nikomatsakis | ||||
| 2016-09-07 | Auto merge of #36214 - jseyfried:stackless_expansion, r=nrc | bors | -717/+937 | |
| macros: stackless expansion After this PR, macro expansion cannot overflow the stack unless the expanded crate is too deep to fold. Everything but the stackless placeholder expansion commit is also groundwork for macro modularization. r? @nrc or @eddyb | ||||
| 2016-09-07 | Improve `directory` computation during invocation collection. | Jeffrey Seyfried | -5/+9 | |
| 2016-09-07 | Implement stackless placeholder expansion. | Jeffrey Seyfried | -8/+22 | |
| 2016-09-07 | Strip unconfigured nodes in the `InvocationCollector` fold. | Jeffrey Seyfried | -19/+67 | |
| 2016-09-07 | Refactor code out of the folder implementation for `StripUnconfigured`. | Jeffrey Seyfried | -55/+75 | |
| 2016-09-07 | add static_in_const feature gate | Andre Bogus | -0/+3 | |
| also updates tests and deletes the spurious .bk files I inadvertently added last time. | ||||
| 2016-09-06 | Auto merge of #36025 - michaelwoerister:incr-comp-hash-spans, r=nikomatsakis | bors | -20/+4 | |
| incr. comp.: Take spans into account for ICH This PR makes the ICH (incr. comp. hash) take spans into account when debuginfo is enabled. A side-effect of this is that the SVH (which is based on the ICHs of all items in the crate) becomes sensitive to the tiniest change in a code base if debuginfo is enabled. Since we are not trying to model ABI compatibility via the SVH anymore (this is done via the crate disambiguator now), this should be not be a problem. Fixes #33888. Fixes #32753. | ||||
| 2016-09-05 | Rollup merge of #36245 - alexcrichton:add-back-accident, r=arielb1 | Manish Goregaokar | -0/+1 | |
| Add back feature accidentally removed This feature was accidentally removed in https://github.com/rust-lang/rust/pull/35957. | ||||
| 2016-09-05 | Load macros from `extern crate`s in the `InvocationCollector` fold. | Jeffrey Seyfried | -62/+22 | |
| 2016-09-05 | Implement stackless expansion. | Jeffrey Seyfried | -178/+191 | |
| 2016-09-05 | Add module `ext::placeholders` with `placeholder()` and `PlaceholderExpander`. | Jeffrey Seyfried | -39/+182 | |
| 2016-09-05 | Refactor `expand_invoc(.., fld)` -> `self.expand_invoc(..)`. | Jeffrey Seyfried | -207/+212 | |
| 2016-09-05 | Refactor `SyntaxEnv`. | Jeffrey Seyfried | -126/+119 | |
| 2016-09-05 | Refactor `expand_*` into `expander.fold_*`. | Jeffrey Seyfried | -214/+194 | |
| 2016-09-05 | Clean up module processing. | Jeffrey Seyfried | -34/+20 | |
| 2016-09-05 | Refactor out `expand_item` (with better semantics than before). | Jeffrey Seyfried | -36/+39 | |
| 2016-09-05 | Refactor away `expand_item`. | Jeffrey Seyfried | -7/+3 | |
| 2016-09-05 | Generalize `Invocation` to include modifiers/decorators. | Jeffrey Seyfried | -95/+138 | |
| 2016-09-05 | Refactor `with_exts_frame` from a macro to a function. | Jeffrey Seyfried | -16/+10 | |
| 2016-09-05 | Add `Invocation` and `Expansion`, remove `MacroGenerable`. | Jeffrey Seyfried | -212/+240 | |
| 2016-09-05 | Remove `syntax::config::strip_unconfigured`, add `syntax::config::features`. | Jeffrey Seyfried | -31/+37 | |
| 2016-09-05 | Improve `expand_type`. | Jeffrey Seyfried | -5/+8 | |
| 2016-09-05 | In `Parser` and `ExtCtxt`, replace fields `filename` and `mod_path_stack` | Jeffrey Seyfried | -57/+38 | |
| with a single field `directory: PathBuf`. | ||||
| 2016-09-04 | Replace `_, _` with `..` | Vadim Petrochenkov | -6/+6 | |
| 2016-09-04 | Replace `_, _, _` with `..` | Vadim Petrochenkov | -1/+1 | |
| 2016-09-03 | Add back feature accidentally removed | Alex Crichton | -0/+1 | |
| This feature was accidentally removed in https://github.com/rust-lang/rust/pull/35957. | ||||
| 2016-09-03 | Translate union constants | Vadim Petrochenkov | -8/+1 | |
| Fix alignment for packed unions Add some missing privacy test Get rid of `unimplemented_unions` macro | ||||
