| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -4/+4 | |
| 2019-04-11 | Reword tracking issue note | Esteban Küber | -3/+3 | |
| 2019-04-10 | Tweak unstable diagnostic output | Esteban Küber | -3/+6 | |
| 2019-03-31 | Distinguish depending on error level | Yuki OKUSHI | -1/+1 | |
| Remove unnecessary comment | ||||
| 2019-03-24 | Rollup merge of #59296 - petrochenkov:stdup, r=estebank | kennytm | -0/+10 | |
| Do not encode gensymed imports in metadata (Unless they are underscore `_` imports which are re-gensymed on crate loading, see https://github.com/rust-lang/rust/pull/56392.) We cannot encode gensymed imports properly in metadata and if we encode them improperly, we can get erroneous name conflicts downstream. Gensymed imports are produced by the compiler, so we control their set, and can be sure that none of them needs being encoded for use from other crates. A workaround that fixes https://github.com/rust-lang/rust/issues/59243. | ||||
| 2019-03-23 | Mark duplicate import removal suggestion tool only | Esteban Küber | -1/+0 | |
| 2019-03-23 | Tweak unnecessary import suggestion | Esteban Küber | -4/+2 | |
| 2019-03-19 | Do not encode gensymed imports in metadata | Vadim Petrochenkov | -0/+10 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -63/+63 | |
| 2019-03-09 | use structured suggestions for E0432 | Andy Russell | -1/+4 | |
| 2019-02-11 | Use hidden suggestions for unused imports lint | Esteban Küber | -1/+1 | |
| 2019-02-08 | unused_imports: update tests | Pietro Albini | -1/+1 | |
| 2019-01-31 | Add suggestion for duplicated import. | David Wood | -5/+4 | |
| This commit adds a suggestion when a import is duplicated (ie. the same name is used twice trying to import the same thing) to remove the second import. | ||||
| 2019-01-26 | Rollup merge of #57407 - mehcode:stabilize-extern-crate-self, r=Centril | Mazdak Farrokhzad | -6/+46 | |
| Stabilize extern_crate_self Fixes #56409 | ||||
| 2019-01-18 | Rollup merge of #57551 - petrochenkov:regrtest, r=nikomatsakis | Mazdak Farrokhzad | -0/+26 | |
| resolve: Add a test for issue #57539 Add a test for the bugfix regression reported in https://github.com/rust-lang/rust/issues/57539 Closes https://github.com/rust-lang/rust/issues/57539 | ||||
| 2019-01-14 | stabilize extern_crate_self | Ryan Leckey | -6/+46 | |
| 2019-01-13 | Rollup merge of #57557 - petrochenkov:ecused, r=varkor | Mazdak Farrokhzad | -0/+66 | |
| resolve: Mark extern crate items as used in more cases Fixes https://github.com/rust-lang/rust/issues/57421 | ||||
| 2019-01-13 | resolve: Mark extern crate items as used in more cases | Vadim Petrochenkov | -0/+66 | |
| 2019-01-13 | resolve: Add a test for issue #57539 | Vadim Petrochenkov | -0/+26 | |
| 2019-01-12 | Fix a hole in generic parameter import future-proofing | Vadim Petrochenkov | -1/+1 | |
| Add some tests for buggy derive helpers | ||||
| 2019-01-12 | Stabilize `uniform_paths` | Vadim Petrochenkov | -9/+7 | |
| 2019-01-01 | Auto merge of #57199 - petrochenkov:ambig, r=estebank | bors | -2/+13 | |
| resolve: Simplify treatment of ambiguity errors If we have a glob conflict like this ```rust mod m1 { struct S; } mod m2 { struct S; } use m1::*; use m2::*; ``` we treat it as a special "ambiguity item" that's not an error by itself, but produces an error when actually used. ```rust use m1::*; // primary use m2::*; // secondary => ambiguity S(m1::S, m2::S); ``` Ambiguity items were *sometimes* treated as their primary items for error recovery, but pretty irregularly. After this PR they are always treated as their primary items, except that - If an ambiguity item is marked as used, then it still produces an error. - Ambiguity items are still filtered away when exported to other crates (which is also a use in some sense). | ||||
| 2018-12-30 | Auto merge of #57185 - petrochenkov:impice4, r=estebank | bors | -26/+29 | |
| resolve: Fix one more ICE in import validation So if you have an unresolved import ```rust mod m { use foo::bar; } ``` error recovery will insert a special item with `Def::Err` definition into module `m`, so other things depending on `bar` won't produce extra errors. The issue was that erroneous `bar` was overwriting legitimate `bar`s coming from globs, e.g. ```rust mod m { use baz::*; // imports real existing `bar` use foo::bar; } ``` causing some unwanted diagnostics talking about "unresolved items", and producing inconsistent resolutions like https://github.com/rust-lang/rust/issues/57015. This PR stops overwriting real successful resolutions with `Def::Err`s. Fixes https://github.com/rust-lang/rust/issues/57015 | ||||
| 2018-12-29 | resolve: Simplify treatment of ambiguity errors | Vadim Petrochenkov | -23/+15 | |
| 2018-12-29 | resolve: Never override real bindings with `Def::Err`s from error recovery | Vadim Petrochenkov | -26/+29 | |
| 2018-12-27 | Update references to closed issue | Ian Douglas Scott | -3/+3 | |
| Issue #28979 was closed with a link to #55467. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -364/+84 | |
| 2018-12-08 | Rollup merge of #56620 - petrochenkov:noclutter, r=estebank | Mazdak Farrokhzad | -21/+7 | |
| resolve: Reduce some clutter in import ambiguity errors Noticed in https://www.reddit.com/r/rust/comments/a3pyrw/announcing_rust_131_and_rust_2018/eb8alhi/. The first error is distracting, but unnecessary, it's a *consequence* of the ambiguity error and appears because one of the ambiguous `actix` modules (unsurprisingly) doesn't have the expected name in it. | ||||
| 2018-12-08 | resolve: Reduce some clutter in import ambiguity errors | Vadim Petrochenkov | -21/+7 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-12-01 | resolve: Support aliasing local crate root in extern prelude | Vadim Petrochenkov | -0/+37 | |
| 2018-11-27 | resolve: Extern prelude is for type namespace only | Vadim Petrochenkov | -0/+8 | |
| 2018-11-27 | resolve: Suggest `crate::` for resolving ambiguities when appropriate | Vadim Petrochenkov | -8/+10 | |
| More precise spans for ambiguities from macros | ||||
| 2018-11-25 | resolve: Fix some more asserts in import validation | Vadim Petrochenkov | -25/+61 | |
| 2018-11-22 | resolve: Fix some asserts in import validation | Vadim Petrochenkov | -0/+67 | |
| 2018-11-21 | Auto merge of #56117 - petrochenkov:iempty, r=eddyb | bors | -0/+11 | |
| resolve: Make "empty import canaries" invisible from other crates Empty imports `use prefix::{};` are desugared into `use prefix::{self as _};` to make sure the prefix is checked for privacy/stability/etc. This caused issues in cross-crate scenarios because gensyms are lost in crate metadata (the `_` is a gensym). Fixes https://github.com/rust-lang/rust/issues/55811 | ||||
| 2018-11-21 | resolve: Make "empty import canaries" invisible from other crates | Vadim Petrochenkov | -0/+11 | |
| 2018-11-21 | Add a couple more tests | Vadim Petrochenkov | -3/+33 | |
| 2018-11-21 | Stabilize `extern_crate_item_prelude` | Vadim Petrochenkov | -7/+0 | |
| 2018-11-18 | Fix rebase | Vadim Petrochenkov | -1/+1 | |
| 2018-11-18 | Add a couple more tests + address review comments | Vadim Petrochenkov | -0/+91 | |
| 2018-11-18 | resolve: Avoid sentence breaks in diagnostics | Vadim Petrochenkov | -5/+5 | |
| 2018-11-18 | resolve: Tweak some articles in ambiguity diagnostics | Vadim Petrochenkov | -11/+11 | |
| 2018-11-18 | resolve: Improve diagnostics for resolution ambiguities | Vadim Petrochenkov | -87/+95 | |
| 2018-11-07 | Removed `#[rustc_error]` from tests that are all `// compile-pass`. | Felix S. Klock II | -16/+4 | |
| I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.) | ||||
| 2018-10-30 | resolve: Fix ICE in macro import error recovery | Vadim Petrochenkov | -0/+39 | |
| 2018-10-28 | resolve: More precise spans for privacy errors | Vadim Petrochenkov | -4/+4 | |
| 2018-10-28 | resolve: Absolute paths may be undetermined on 2018 edition | Vadim Petrochenkov | -0/+18 | |
| due to macro-expanded `extern crate` items adding names to extern prelude. | ||||
| 2018-10-24 | Prohibit macro-expanded `extern crate` items shadowing crates passed with ↵ | Vadim Petrochenkov | -2/+20 | |
| `--extern` | ||||
| 2018-10-24 | Feature gate extern prelude additions from `extern crate` items | Vadim Petrochenkov | -2/+7 | |
| Fix rustdoc and fulldeps tests | ||||
