| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-05-02 | make it compile again | flip1995 | -1/+1 | |
| 2018-05-02 | Remove Option from the return type of Attribute::name() | Seiichi Uchida | -3/+2 | |
| 2018-05-02 | Allow Path for name of MetaItem | Seiichi Uchida | -4/+12 | |
| 2018-04-27 | Rename InternedString to LocalInternedString and introduce a new thread-safe ↵ | John Kåre Alsaker | -4/+24 | |
| InternedString | ||||
| 2018-04-26 | rustc_target: move in syntax::abi and flip dependency. | Irina Popa | -1/+1 | |
| 2018-04-10 | Add ok-wrapping to catch blocks, per RFC | Scott McMurray | -1/+2 | |
| 2018-04-06 | Use `Ident` instead of `Name` in `MetaItem` | Vadim Petrochenkov | -1/+1 | |
| 2018-04-06 | Remove more duplicated spans | Vadim Petrochenkov | -1/+1 | |
| 2018-04-06 | Rename `PathSegment::identifier` to `ident` | Vadim Petrochenkov | -1/+1 | |
| 2018-04-03 | Remove all unstable placement features | Aidan Hobson Sayers | -1/+0 | |
| Closes #22181, #27779 | ||||
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -1/+4 | |
| 2018-03-17 | syntax: Make `_` an identifier | Vadim Petrochenkov | -1/+0 | |
| 2018-03-15 | Make FileMap thread-safe | John Kåre Alsaker | -15/+18 | |
| 2018-03-08 | Add InterpretInterner to StableHashingContext for AllocId serialization | Oliver Schneider | -23/+25 | |
| 2018-03-05 | Turn features() into a query. | Michael Woerister | -0/+19 | |
| 2018-01-04 | rustc: use {U,I}size instead of {U,I}s shorthands. | Eduard-Mihai Burtescu | -2/+2 | |
| 2017-12-19 | incr.comp.: Precompute small hash for filenames to save some work. | Michael Woerister | -2/+3 | |
| 2017-12-15 | incr.comp.: Revert hashing optimization that caused regression. | Michael Woerister | -2/+0 | |
| 2017-12-14 | incr.comp.: Do less hashing per Span. | Michael Woerister | -0/+2 | |
| 2017-12-14 | Use PathBuf instead of String where applicable | Oliver Schneider | -0/+11 | |
| 2017-12-01 | incr.comp.: Properly hash and encode macro expansion information. | Michael Woerister | -0/+24 | |
| 2017-11-03 | Display spans correctly when there are non-half-width characters | Wonwoo Choi | -0/+16 | |
| 2017-10-03 | Rename FileMap::path and change to an Option | Philip Craig | -1/+1 | |
| 2017-09-30 | Don't use remapped path when loading modules and include files | Philip Craig | -0/+1 | |
| 2017-09-22 | Add support for `..=` syntax | Alex Burka | -0/+2 | |
| Add ..= to the parser Add ..= to libproc_macro Add ..= to ICH Highlight ..= in rustdoc Update impl Debug for RangeInclusive to ..= Replace `...` to `..=` in range docs Make the dotdoteq warning point to the ... Add warning for ... in expressions Updated more tests to the ..= syntax Updated even more tests to the ..= syntax Updated the inclusive_range entry in unstable book | ||||
| 2017-09-18 | rustc: Forbid interpolated tokens in the HIR | Alex Crichton | -18/+5 | |
| Right now the HIR contains raw `syntax::ast::Attribute` structure but nowadays these can contain arbitrary tokens. One variant of the `Token` enum is an "interpolated" token which basically means to shove all the tokens for a nonterminal in this position. A "nonterminal" in this case is roughly analagous to a macro argument: macro_rules! foo { ($a:expr) => { // $a is a nonterminal as an expression } } Currently nonterminals contain namely items and expressions, and this poses a problem for incremental compilation! With incremental we want a stable hash of all HIR items, but this means we may transitively need a stable hash *of the entire AST*, which is certainly not stable w/ node ids and whatnot. Hence today there's a "bug" where the "stable hash" of an AST is just the raw hash value of the AST, and this only arises with interpolated nonterminals. The downside of this approach, however, is that a bunch of errors get spewed out during compilation about how this isn't a great idea. This PR is focused at fixing these warnings, basically deleting them from the compiler. The implementation here is to alter attributes as they're lowered from the AST to HIR, expanding all nonterminals in-place as we see them. This code for expanding a nonterminal to a token stream already exists for the `proc_macro` crate, so we basically just reuse the same implementation there. After this PR it's considered a bug to have an `Interpolated` token and hence the stable hash implementation simply uses `bug!` in this location. Closes #40946 | ||||
| 2017-09-18 | incr.comp.: Remove tcx from StableHashingContext. | Michael Woerister | -24/+24 | |
| 2017-09-18 | incr.comp.: Make the StableHashingContext mostly independent of the tcx. | Michael Woerister | -2/+2 | |
| 2017-09-18 | incr.comp.: Initialize IGNORED_ATTRS in StableHashingContext lazily. | Michael Woerister | -0/+5 | |
| 2017-09-18 | Fix issues uncovered by rebasing: | Michael Woerister | -4/+26 | |
| - Don't hash traits in scope as part of HIR hashing any more. - Some queries returned DefIndexes from other crates. - Provide a generic way of stably hashing maps (not used everywhere yet). | ||||
| 2017-09-13 | honor #[rustc_const_unstable] attributes | Alex Burka | -1/+7 | |
| 2017-06-26 | Simplify `hygiene::Mark` application, and | Jeffrey Seyfried | -2/+1 | |
| remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`. | ||||
| 2017-06-10 | Added external crates' sources to FileMap. | Inokentiy Babushkin | -0/+1 | |
| They are now handled in their own member to prevent mutating access to the `src` member. This way, we can safely load external sources, while keeping the mutation of local source strings off-limits. | ||||
| 2017-06-10 | Added source hashes to FileMap | Inokentiy Babushkin | -0/+3 | |
| We can use these to perform lazy loading of source files belonging to external crates. That way we will be able to show the source code of external spans that have been translated. | ||||
| 2017-06-06 | ICH: Make StableHashingContext work with any TyCtxt, not just the global one. | Michael Woerister | -18/+22 | |
| 2017-05-26 | Auto merge of #42058 - froydnj:thiscall-support, r=nikomatsakis | bors | -0/+1 | |
| add thiscall calling convention support This support is needed for bindgen to work well on 32-bit Windows, and also enables people to begin experimenting with C++ FFI support on that platform. Fixes #42044. | ||||
| 2017-05-25 | Improve efficiency. | Jeffrey Seyfried | -1/+1 | |
| 2017-05-24 | add thiscall calling convention support | Nathan Froyd | -0/+1 | |
| This support is needed for bindgen to work well on 32-bit Windows, and also enables people to begin experimenting with C++ FFI support on that platform. Fixes #42044. | ||||
| 2017-05-08 | incr.comp.: Hash more pieces of crate metadata to detect changes there. | Michael Woerister | -1/+79 | |
| 2017-04-06 | Introduce HashStable trait and base ICH implementations on it. | Michael Woerister | -0/+301 | |
| This initial commit provides implementations for HIR, MIR, and everything that also needs to be supported for those two. | ||||
