| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-11-03 | Display spans correctly when there are non-half-width characters | Wonwoo Choi | -4/+91 | |
| 2017-10-29 | Optimize some span operations | Vadim Petrochenkov | -25/+52 | |
| Decode span data only once | ||||
| 2017-10-10 | Rollup merge of #44775 - MaloJaffre:debug-struct, r=sfackler | kennytm | -2/+5 | |
| Refactor to use `debug_struct` in several Debug impls Also use `pad` and derive `Debug` for `Edge`. Fixes #44771. | ||||
| 2017-10-09 | Refactor to use `debug_struct` in several Debug impls | Malo Jaffré | -2/+5 | |
| Fixes #44771. | ||||
| 2017-10-03 | Rename FileMap::path and change to an Option | Philip Craig | -5/+6 | |
| 2017-09-30 | Don't use remapped path when loading modules and include files | Philip Craig | -0/+6 | |
| 2017-09-23 | Compress "small" spans to 32 bits and intern "large" spans | Vadim Petrochenkov | -26/+38 | |
| 2017-09-09 | Add `impl From<Vec<Span>> for MultiSpan`. | Sergio Benitez | -0/+6 | |
| 2017-09-03 | enable desugaring-sensitive error messages and use them in Try | Ariel Ben-Yehuda | -0/+12 | |
| Maybe I should allow error messages to check the *specific* desugaring? Thanks @huntiep for the idea! | ||||
| 2017-08-30 | Make fields of `Span` public again | Vadim Petrochenkov | -3/+15 | |
| This helps to avoid landing changes to rustc and rustfmt in one step | ||||
| 2017-08-30 | Normalize order of `lo` and `hi` in `Span::new` | Vadim Petrochenkov | -1/+1 | |
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -51/+69 | |
| 2017-08-25 | *: remove crate_{name,type} attributes | Tamir Duberstein | -3/+0 | |
| Fixes #41701. | ||||
| 2017-08-18 | Auto merge of #43832 - huntiep:compiler-desugaring-enum, r=nikomatsakis | bors | -1/+12 | |
| Implement CompilerDesugaringKind enum This is the first step outlined in #35946. I think that the variants of `CompilerDesugaringKind` should be changed, I didn't know what the official names for `...` and `<-` are. I'm not to sure how tests for the compiler work, but I would imagine that tests should be added such that `Symbol::intern(s) == CompilerDesugaringKind::from(s).as_symbol()` for valid `s`. | ||||
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -15/+15 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-08-12 | Implement CompilerDesugaringKind enum | Hunter Praska | -1/+12 | |
| 2017-08-12 | syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros. | Eduard-Mihai Burtescu | -0/+10 | |
| 2017-08-01 | syntax: avoid loading the same source-file multiple times | Ariel Ben-Yehuda | -1/+4 | |
| We already had a cache for file contents, but we read the source-file before testing the cache, causing obvious slowness, so this just avoids loading the source-file when the cache already has the contents. | ||||
| 2017-07-27 | Give span to angle bracketed generic arguments | Vadim Petrochenkov | -0/+6 | |
| 2017-07-23 | Fix some doc/comment typos. | Bruce Mitchener | -1/+1 | |
| 2017-07-21 | Review comments | Esteban Küber | -21/+10 | |
| 2017-07-20 | Use the macro structure spans instead of the invocation | Esteban Küber | -4/+24 | |
| 2017-06-26 | Simplify `hygiene::Mark` application, and | Jeffrey Seyfried | -1/+1 | |
| remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`. | ||||
| 2017-06-19 | Bump version and stage0 compiler | Alex Crichton | -6/+2 | |
| 2017-06-12 | External spans: address review. | Inokentiy Babushkin | -15/+20 | |
| * The lazy loading mechanism has been moved to a more appropriate place. * Return values from the functions invoked there are properly used. * Documentation has gotten some minor improvements. * Possibly some larger restructuring will need to take place still. | ||||
| 2017-06-11 | Added hash verification to external source loading. | Inokentiy Babushkin | -0/+20 | |
| 2017-06-11 | Added consumption logic for external sources in FileMap | Inokentiy Babushkin | -18/+28 | |
| We now fetch source lines from the `external_src` member as a secondary fallback if no regular source is present, that is, if the file map belongs to an external crate and the source has been fetched from disk. | ||||
| 2017-06-11 | Improved lazy external source loading and inserted calls. | Inokentiy Babushkin | -1/+22 | |
| 2017-06-10 | Added external crates' sources to FileMap. | Inokentiy Babushkin | -0/+13 | |
| 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 | Moved FileMap construction to it's own constructor. | Inokentiy Babushkin | -0/+37 | |
| The rationale is that BOM stripping is needed for lazy source loading for external crates, and duplication can be avoided by moving the corresponding functionality to libsyntax_pos. | ||||
| 2017-06-10 | Added source hashes to FileMap | Inokentiy Babushkin | -3/+10 | |
| 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-05-11 | rustc: Remove #![unstable] annotation | Alex Crichton | -3/+4 | |
| These are now no longer necessary with `-Z force-unstable-if-unmarked` | ||||
| 2017-05-09 | Add INVALID_CRATE CrateNum constant. | Michael Woerister | -1/+3 | |
| 2017-05-08 | incr.comp.: Hash more pieces of crate metadata to detect changes there. | Michael Woerister | -0/+4 | |
| 2017-04-26 | Implement a file-path remapping feature in support of debuginfo and ↵ | Michael Woerister | -6/+7 | |
| reproducible builds. | ||||
| 2017-04-10 | Point at only one char on `Span::next_point` | Esteban Küber | -1/+1 | |
| Avoid pointing at two chars so the diagnostic output doesn't display a multiline span when starting beyond a line end. | ||||
| 2017-04-05 | Rollup merge of #40815 - estebank:issue-40006, r=GuillaumeGomez | Ariel Ben-Yehuda | -0/+24 | |
| Identify missing item category in `impl`s ```rust struct S; impl S { pub hello_method(&self) { println!("Hello"); } } fn main() { S.hello_method(); } ``` ```rust error: missing `fn` for method declaration --> file.rs:3:4 | 3 | pub hello_method(&self) { | ^ missing `fn` ``` Fix #40006. r? @pnkfelix CC @jonathandturner @GuillaumeGomez | ||||
| 2017-04-04 | Merge branch 'master' into issue-32540 | Esteban Küber | -37/+87 | |
| 2017-04-03 | Merge branch 'master' into issue-40006 | Esteban Küber | -36/+110 | |
| 2017-03-29 | Refactor how spans are combined in the parser. | Jeffrey Seyfried | -6/+10 | |
| 2017-03-29 | Merge `ExpnId` and `SyntaxContext`. | Jeffrey Seyfried | -27/+74 | |
| 2017-03-29 | Remove code in `syntax::codemap`. | Jeffrey Seyfried | -4/+0 | |
| 2017-03-29 | Move `syntax::ext::hygiene` to `syntax_pos::hygiene`. | Jeffrey Seyfried | -0/+3 | |
| 2017-03-27 | Fix unittests | Esteban Küber | -2/+2 | |
| 2017-03-25 | Improve wording and spans for unexpected token | Esteban Küber | -0/+6 | |
| * Point at where the token was expected instead of the last token successfuly parsed. * Only show `unexpected token` if the next char and the unexpected token don't have the same span. * Change some cfail and pfail tests to ui test. * Don't show all possible tokens in span label if they are more than 6. | ||||
| 2017-02-02 | store typeck lints in the `TypeckTables` | Niko Matsakis | -1/+1 | |
| Otherwise they are a "hidden output" | ||||
| 2016-12-29 | Remove not(stage0) from deny(warnings) | Alex Crichton | -1/+1 | |
| Historically this was done to accommodate bugs in lints, but there hasn't been a bug in a lint since this feature was added which the warnings affected. Let's completely purge warnings from all our stages by denying warnings in all stages. This will also assist in tracking down `stage0` code to be removed whenever we're updating the bootstrap compiler. | ||||
| 2016-11-30 | Update the bootstrap compiler | Alex Crichton | -1/+0 | |
| Now that we've got a beta build, let's use it! | ||||
| 2016-11-08 | Group unused import warnings per path list | Esteban Küber | -3/+3 | |
| Given a file ```rust use std::collections::{BinaryHeap, BTreeMap, BTreeSet}; fn main() {} ``` Show a single warning, instead of three for each unused import: ```nocode warning: unused imports, #[warn(unused_imports)] on by default --> foo.rs:1:24 | 1 | use std::collections::{BinaryHeap, BTreeMap, BTreeSet}; | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ``` Include support for lints pointing at `MultilineSpan`s, instead of just `Span`s. | ||||
| 2016-11-01 | retool EarlyLint to track a Diagnostic | Niko Matsakis | -1/+1 | |
