| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-04-12 | AST/HIR: Merge field access expressions for named and numeric fields | Vadim Petrochenkov | -3/+0 | |
| 2018-04-06 | Remove more duplicated spans | Vadim Petrochenkov | -2/+2 | |
| 2018-04-03 | Remove all unstable placement features | Aidan Hobson Sayers | -10/+4 | |
| Closes #22181, #27779 | ||||
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -3/+3 | |
| 2018-01-15 | Move `ExprPrecedence` to `libsyntax/util/parser.rs` | Esteban Küber | -0/+126 | |
| 2018-01-15 | Use single source of truth for expr precedence | Esteban Küber | -61/+1 | |
| Introduce a new unified type that holds the expression precedence for both AST and HIR nodes. | ||||
| 2017-12-21 | Add GenericParam, refactor Generics in ast, hir, rustdoc | Jonas Platte | -4/+4 | |
| The Generics now contain one Vec of an enum for the generic parameters, rather than two separate Vec's for lifetime and type parameters. Additionally, places that previously used Vec<LifetimeDef> now use Vec<GenericParam> instead. | ||||
| 2017-12-14 | Use PathBuf instead of String where applicable | Oliver Schneider | -2/+4 | |
| 2017-12-02 | Auto merge of #46347 - raventid:did-you-mean-increase-accuracy, r=estebank | bors | -5/+27 | |
| Add case insensitive comparison, besides Levenstein for DYM Closes #46332 Draft version. The idea is that Levenstein does not work for some cases when we have multiple equal weights for strings. I didn't understand the case with `if found != name => Some(found)` so it means that new code does not work correctly yet. At least now I think that we might return all maximal weights from levenstein and think about next cases in priority order: 1) There is exact match -> None 2) There is exact match, but case insensitive -> Some(match) 3) There is some match from levenstein -> Some(matches.take_any) 4) There is no match -> None @estebank WDYT? | ||||
| 2017-12-01 | move comparator into +find_best_match_name+ function | Julian Kulesh | -5/+27 | |
| 2017-11-30 | Implement RFC 2128 (use_nested_groups) | Pietro Albini | -2/+2 | |
| This commit adds support for nested groups inside `use` declarations, such as `use foo::{bar, sub::{baz::Foo, *}};`. | ||||
| 2017-11-06 | Using `...` in expressions is now an error | Badel2 | -1/+2 | |
| 2017-09-22 | Add support for `..=` syntax | Alex Burka | -8/+9 | |
| 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-07 | pprust: increase precedence of block-like exprs | Stuart Pernsteiner | -11/+9 | |
| 2017-09-06 | pprust: fix parenthesization of exprs | Stuart Pernsteiner | -1/+105 | |
| 2017-06-26 | Update and fix a few tests | Alex Crichton | -1/+1 | |
| 2017-06-26 | Implement `quote!` and other `proc_macro` API. | Jeffrey Seyfried | -1/+9 | |
| 2017-05-16 | Rollup merge of #41957 - llogiq:clippy-libsyntax, r=petrochenkov | Mark Simulacrum | -7/+8 | |
| Fix some clippy warnings in libsyntax This is mostly removing stray ampersands, needless returns and lifetimes. Basically a lot of small changes. | ||||
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -7/+8 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-05-12 | Pass crate attributes in visit.rs | Nick Cameron | -1/+1 | |
| 2017-04-26 | Implement a file-path remapping feature in support of debuginfo and ↵ | Michael Woerister | -7/+8 | |
| reproducible builds. | ||||
| 2017-04-06 | Introduce HashStable trait and base ICH implementations on it. | Michael Woerister | -0/+13 | |
| This initial commit provides implementations for HIR, MIR, and everything that also needs to be supported for those two. | ||||
| 2017-03-10 | Refactor out `ast::ItemKind::MacroDef`. | Jeffrey Seyfried | -5/+0 | |
| 2017-03-03 | Fix fallout in unit tests. | Jeffrey Seyfried | -4/+4 | |
| 2017-03-03 | Integrate `TokenStream`. | Jeffrey Seyfried | -7/+0 | |
| 2017-01-22 | Refactor `TokenStream`. | Jeffrey Seyfried | -0/+50 | |
| 2016-12-06 | annotate stricter lifetimes on LateLintPass methods to allow them to forward ↵ | Oliver Schneider | -1/+1 | |
| to a Visitor | ||||
| 2016-11-21 | Fix fallout in `rustdoc` and tests. | Jeffrey Seyfried | -5/+4 | |
| 2016-11-21 | Use `Symbol` instead of `InternedString` in the AST, HIR, and various other ↵ | Jeffrey Seyfried | -6/+5 | |
| places. | ||||
| 2016-11-20 | Move `syntax::util::interner` -> `syntax::symbol`, cleanup. | Jeffrey Seyfried | -113/+3 | |
| 2016-11-11 | Change implementation of syntax::util::SmallVector to use ↵ | Mark-Simulacrum | -256/+61 | |
| data_structures::SmallVec. | ||||
| 2016-11-10 | syntax: don't fake a block around closures' bodies during parsing. | Eduard Burtescu | -2/+2 | |
| 2016-10-31 | Changed most vec! invocations to use square braces | iirelu | -3/+3 | |
| Most of the Rust community agrees that the vec! macro is clearer when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets. There is one left unchanged in a pretty-print test, as the pretty printer still wants it to have regular brackets. | ||||
| 2016-10-29 | Move `CrateConfig` from `Crate` to `ParseSess`. | Jeffrey Seyfried | -4/+1 | |
| 2016-10-25 | Use `SmallVector` for `TtReader::stack`. | Nicholas Nethercote | -10/+40 | |
| This avoids 800,000 heap allocations when compiling html5ever. It requires tweaking `SmallVector` a little. | ||||
| 2016-10-13 | Get rid of double indirection in string interner by using `Rc<str>` | Vadim Petrochenkov | -25/+15 | |
| 2016-09-07 | Refactor code out of the folder implementation for `StripUnconfigured`. | Jeffrey Seyfried | -0/+6 | |
| 2016-07-11 | Factor the `RefCell` out of the `Interner`. | Jeffrey Seyfried | -60/+34 | |
| 2016-07-11 | Remove `Interner<T>` and rename `StrInterner` to `Interner`. | Jeffrey Seyfried | -136/+13 | |
| 2016-07-11 | Encapsulate `RcStr` in `syntax::util::interner`. | Jeffrey Seyfried | -56/+20 | |
| 2016-06-26 | Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth | Jeffrey Seyfried | -0/+59 | |
| Generalize and abstract `ThinAttributes` to `ThinVec<Attribute>`. | ||||
| 2016-06-26 | Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb | Jeffrey Seyfried | -4/+0 | |
| Refactor away `ast::Decl`, refactor `ast::Stmt`, and rename `ast::ExprKind::Again` to `ast::ExprKind::Continue`. | ||||
| 2016-06-26 | Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc | Jeffrey Seyfried | -34/+34 | |
| Miscellaneous low priority cleanup in `libsyntax`. | ||||
| 2016-06-26 | Rollup merge of #34385 - cgswords:tstream, r=nrc | Jeffrey Seyfried | -1/+2 | |
| syntax-[breaking-change] cc #31645 (Only breaking because ast::TokenTree is now tokenstream::TokenTree.) This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566). | ||||
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -1/+1 | |
| 2016-06-21 | Refactored tokentrees into their own files in preparation for tokenstreams. ↵ | cgswords | -1/+2 | |
| Modified tests to point to the new file now. | ||||
| 2016-06-18 | Auto merge of #34295 - jseyfried:cfg_decoration, r=eddyb | bors | -0/+9 | |
| Perform `cfg` attribute processing on decorator-generated items Fixes https://users.rust-lang.org/t/unused-attribute-warning-for-custom-derive-attribute/6180. r? @nrc | ||||
| 2016-06-19 | Generalize and abstract `ThinAttributes` | Jeffrey Seyfried | -0/+59 | |
| 2016-06-17 | Fix fallout | Jeffrey Seyfried | -4/+0 | |
| 2016-06-16 | Auto merge of #34187 - luser:extern-crate-abspaths, r=michaelwoerister | bors | -1/+1 | |
| Add an abs_path member to FileMap, use it when writing debug info. Fixes #34179. When items are inlined from extern crates, the filename in the debug info is taken from the FileMap that's serialized in the rlib metadata. Currently this is just FileMap.name, which is whatever path is passed to rustc. Since libcore and libstd are built by invoking rustc with relative paths, they wind up with relative paths in the rlib, and when linked into a binary the debug info uses relative paths for the names, but since the compilation directory for the final binary, tools trying to read source filenames will wind up with bad paths. We noticed this in Firefox with source filenames from libcore/libstd having bad paths. This change stores an absolute path in FileMap.abs_path, and uses that if available for writing debug info. This is not going to magically make debuggers able to find the source, but it will at least provide sensible paths. | ||||
