| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-07 | reword "possible candidate" import suggestion | Andy Russell | -6/+6 | |
| 2020-04-11 | rustc: Add a warning count upon completion | RoccoDev | -3/+3 | |
| 2020-04-07 | Do not suggest adding type param when `use` is already suggested | Esteban Küber | -4/+0 | |
| Fix #70365, cc #70572. | ||||
| 2020-03-27 | Rollup merge of #70344 - Centril:hir-pretty, r=eddyb | Dylan DPC | -5/+5 | |
| Decouple `rustc_hir::print` into `rustc_hir_pretty` High level summary: - The HIR pretty printer, `rustc_hir::print` is moved into a new crate `rustc_hir_pretty`. - `rustc_ast_pretty` and `rustc_errors` are dropped as `rustc_hir` dependencies. - The dependence on HIR pretty is generally reduced, leaving `rustc_save_analysis`, `rustdoc`, `rustc_metadata`, and `rustc_driver` as the remaining clients. The main goal here is to reduce `rustc_hir`'s dependencies and its size such that it can start and finish earlier, thereby working towards https://github.com/rust-lang/rust/issues/65031. r? @Zoxc | ||||
| 2020-03-26 | wip pacify the merciless ui tests | Niko Matsakis | -1/+1 | |
| 2020-03-26 | introduce `negative_impls` feature gate and document | Niko Matsakis | -4/+6 | |
| They used to be covered by `optin_builtin_traits` but negative impls are now applicable to all traits, not just auto traits. This also adds docs in the unstable book for the current state of auto traits. | ||||
| 2020-03-24 | rustc_typeck: remove rustc_hir_pretty usage | Mazdak Farrokhzad | -5/+5 | |
| 2020-03-24 | Rollup merge of #69740 - mark-i-m:describe-it-3, r=eddyb | Mazdak Farrokhzad | -2/+2 | |
| Replace some desc logic in librustc_lint with article_and_desc r? @eddyb @Centril @matthewjasper Followup to https://github.com/rust-lang/rust/pull/69674 Blocked on #69498 | ||||
| 2020-03-23 | Rollup merge of #69942 - estebank:sized-verbose-sugg, r=matthewjasper | Mazdak Farrokhzad | -229/+229 | |
| Increase verbosity when suggesting subtle code changes Do not suggest changes that are actually quite small inline, to minimize the likelihood of confusion. Fix #69243. | ||||
| 2020-03-22 | Use more targetted span for error label | Esteban Küber | -10/+10 | |
| 2020-03-22 | Normalize wording of privacy access labels | Esteban Küber | -212/+212 | |
| 2020-03-22 | Add span label to primary error span | Esteban Küber | -12/+12 | |
| 2020-03-21 | convert a couple more errors | mark | -2/+2 | |
| 2020-03-21 | Bless tests | LeSeulArtichaut | -6/+4 | |
| 2020-03-17 | Rollup merge of #69811 - petrochenkov:privdiag2, r=estebank | Mazdak Farrokhzad | -1/+6 | |
| resolve: Print import chains on privacy errors A part of https://github.com/rust-lang/rust/pull/67951 that doesn't require hacks. r? @estebank | ||||
| 2020-03-12 | update tests | Mark Mansi | -22/+22 | |
| 2020-03-11 | resolve: Print import chains on privacy errors | Vadim Petrochenkov | -1/+6 | |
| 2020-02-21 | Implement RFC 2532 – Associated Type Defaults | Jonas Schievink | -99/+53 | |
| 2020-02-10 | use `dyn Trait` more in tests | Mazdak Farrokhzad | -28/+28 | |
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -7/+163 | |
| 2020-02-06 | rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace. | Eduard-Mihai Burtescu | -7/+7 | |
| 2020-01-31 | Auto merge of #68080 - varkor:declared-here, r=petrochenkov | bors | -3/+3 | |
| Address inconsistency in using "is" with "declared here" "is" was generally used for NLL diagnostics, but not other diagnostics. Using "is" makes the diagnostics sound more natural and readable, so it seems sensible to commit to them throughout. r? @Centril | ||||
| 2020-01-26 | Suggest defining type parameter when appropriate | Esteban Küber | -0/+4 | |
| ``` error[E0412]: cannot find type `T` in this scope --> file.rs:3:12 | 3 | impl Trait<T> for Struct {} | - ^ not found in this scope | | | help: you might be missing a type parameter: `<T>` ``` Fix #64298. | ||||
| 2020-01-24 | Normalise notes with the/is | varkor | -3/+3 | |
| 2020-01-16 | resolve: Say "import" when reporting private imports | Vadim Petrochenkov | -3/+3 | |
| 2020-01-16 | resolve: Point at the private item definitions in privacy errors | Vadim Petrochenkov | -74/+518 | |
| 2020-01-09 | Update tests | Vadim Petrochenkov | -8/+42 | |
| 2019-12-09 | compiletest: add aux-crate directive | Eric Huss | -7/+6 | |
| 2019-11-18 | test: Update tests with fallout of changes | Gabriel Smith | -74/+54 | |
| The error messages of the two tests effected degraded in quality. The errors no longer suggest types in other modules as they now assume that the arguments are const args, not type args. | ||||
| 2019-11-08 | Rollup merge of #65785 - Centril:compat-to-error-2, r=oli-obk | Mazdak Farrokhzad | -14/+10 | |
| Transition future compat lints to {ERROR, DENY} - Take 2 Follow up to https://github.com/rust-lang/rust/pull/63247 implementing https://github.com/rust-lang/rust/pull/63247#issuecomment-536295992. - `legacy_ctor_visibility` (ERROR) -- closes #39207 - `legacy_directory_ownership` (ERROR) -- closes #37872 - `safe_extern_static` (ERROR) -- closes #36247 - `parenthesized_params_in_types_and_modules` (ERROR) -- closes #42238 - `duplicate_macro_exports` (ERROR) - `nested_impl_trait` (ERROR) -- closes #59014 - `ill_formed_attribute_input` (DENY) -- transitions #57571 - `patterns_in_fns_without_body` (DENY) -- transitions #35203 r? @varkor cc @petrochenkov | ||||
| 2019-11-06 | legacy_ctor_visibility -> error | Mazdak Farrokhzad | -14/+10 | |
| 2019-11-06 | Apply review suggestions | Tomasz Miąsko | -2/+2 | |
| 2019-11-04 | Use build-pass in ui tests where appropriate | Tomasz Miąsko | -2/+2 | |
| 2019-11-01 | Rollup merge of #65914 - estebank:type-alias-bounds-sugg, r=davidtwco | Tyler Mandry | -2/+8 | |
| Use structured suggestion for unnecessary bounds in type aliases | ||||
| 2019-10-29 | Change E0741 into E0742 | Guillaume Gomez | -4/+4 | |
| 2019-10-29 | Update ui tests | Guillaume Gomez | -3/+4 | |
| 2019-10-28 | Use structured suggestion for unnecessary bounds in type aliases | Esteban Küber | -2/+8 | |
| 2019-10-28 | Auto merge of #65421 - estebank:variants, r=petrochenkov | bors | -9/+27 | |
| Point at local similarly named element and tweak references to variants Partially address #65386. | ||||
| 2019-10-27 | Point at local similarly named element and tweak references to variants | Esteban Küber | -9/+27 | |
| Point at the span for the definition of ADTs internal to the current crate. Look at the leading char of the ident to determine whether we're expecting a likely fn or any of a fn, a tuple struct or a tuple variant. Turn fn `add_typo_suggestion` into a `Resolver` method. | ||||
| 2019-10-26 | Fix rebase | Esteban Küber | -0/+1 | |
| 2019-10-26 | review comments and tweaks | Esteban Küber | -5/+24 | |
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+8 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-10-16 | update ui tests | Guillaume Gomez | -2/+2 | |
| 2019-10-11 | resolve: shorten wording on private constructor error | Dan Aloni | -48/+48 | |
| 2019-10-11 | resolve: fix error title regarding private constructors | Dan Aloni | -104/+104 | |
| The constructor is private, not the type. Idea credit to @petrochenkov, discussed at #65153 | ||||
| 2019-10-09 | resolve: Use field spans for reporting the private constructor error | Vadim Petrochenkov | -72/+168 | |
| 2019-08-30 | Fix test. | Sam Radhakrishan | -2/+2 | |
| 2019-08-09 | Mention that tuple structs are private if their fields are | Esteban Küber | -0/+96 | |
| 2019-08-05 | Don't recommend `extern crate` syntax | Kornel | -3/+3 | |
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -0/+0 | |
