| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-03-12 | Rollup merge of #40369 - petrochenkov:segspan, r=eddyb | Corey Farwell | -21/+39 | |
| Give spans to individual path segments in AST And use these spans in path resolution diagnostics. The spans are spans of identifiers in segments, not whole segments. I'm not sure what spans are more useful in general, but identifier spans are a better fit for resolve errors. HIR still doesn't have spans. Fixes https://github.com/rust-lang/rust/pull/38927#discussion_r95336667 https://github.com/rust-lang/rust/pull/38890#issuecomment-271731008 r? @nrc @eddyb | ||||
| 2017-03-10 | resolve: Use path segment spans in smart_resolve_path | Vadim Petrochenkov | -21/+39 | |
| 2017-03-10 | Update syntax for `pub(restricted)` | Vadim Petrochenkov | -2/+2 | |
| 2017-02-25 | rustc_const_eval: always demand typeck_tables for evaluating constants. | Eduard-Mihai Burtescu | -7/+1 | |
| 2017-02-25 | rustc_typeck: simplify AstConv requests as implemented by collect. | Eduard-Mihai Burtescu | -2/+9 | |
| 2017-01-29 | Improve diagnostics for inaccessible constructors | Vadim Petrochenkov | -0/+137 | |
| 2017-01-21 | Resolve `Self` in impl headers | Vadim Petrochenkov | -10/+2 | |
| 2017-01-20 | Rollup merge of #39168 - estebank:multiline-candidate, r=petrochenkov | Alex Crichton | -20/+20 | |
| Use multiline Diagnostic for candidate in other module ``` error[E0574]: expected struct, variant or union type, found enum `Result` --> $DIR/issue-16058.rs:19:9 | 19 | Result { | ^^^^^^ not a struct, variant or union type | = help: possible better candidates are found in other modules, you can import them into scope: `use std::fmt::Result;` `use std::io::Result;` `use std::thread::Result;` error: aborting due to previous error ``` | ||||
| 2017-01-18 | Use multiline Diagnostic for candidate in other module | Esteban Küber | -20/+20 | |
| 2017-01-17 | Teach Diagnostics to highlight text | Esteban Küber | -1/+1 | |
| 2017-01-13 | resolve: Levenshtein-based suggestions for non-import paths | Vadim Petrochenkov | -3/+92 | |
| 2017-01-12 | resolve: Do not use "resolve"/"resolution" in error messages | Vadim Petrochenkov | -109/+109 | |
| 2017-01-07 | Teach diagnostics to have correctly padded lists | Esteban Küber | -3/+3 | |
| Make the suggestion list have a correct padding: ``` error[E0308]: mismatched types --> file.rs:3:20 | 3 | let x: usize = ""; | ^^ expected usize, found reference | = note: expected type `usize` = note: found type `&'static str` = help: here are some functions which might fulfill your needs: - .len() - .foo() - .bar() ``` | ||||
| 2016-12-26 | More systematic error reporting in path resolution | Vadim Petrochenkov | -240/+277 | |
| 2016-12-26 | Move some compile-fail tests into UI directory | Vadim Petrochenkov | -0/+1953 | |
