| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move autoderef to rustc_hir_analysis | Michael Goulet | -4/+4 | |
| 2023-01-11 | Rollup merge of #106622 - estebank:issue-68972, r=davidtwco | Matthias Krüger | -0/+4 | |
| Detect out of bounds range pattern value Fix #68972. | ||||
| 2023-01-11 | parser: recover from where clauses placed before tuple struct bodies | León Orell Valerian Liehr | -0/+6 | |
| 2023-01-11 | Detect struct literal needing parentheses | Esteban Küber | -0/+4 | |
| Fix #82051. | ||||
| 2023-01-11 | Detect out of bounds range pattern value | Esteban Küber | -0/+4 | |
| Fix #68972. | ||||
| 2023-01-09 | migrate: `deref_into_dyn_supertrait.rs` | Rejyr | -0/+3 | |
| 2023-01-09 | migrate: rest of `builtin.rs` without `builtin_asm_labels` | Rejyr | -2/+10 | |
| 2023-01-09 | refactor: refactor to derive for some lints. | Rejyr | -1/+3 | |
| 2023-01-09 | migrate: `for_loops_over_fallibles.rs` | Rejyr | -0/+7 | |
| 2023-01-09 | migrate(wip): `builtin.rs` | Rejyr | -0/+7 | |
| 2023-01-09 | migrate: `internal.rs` | Rejyr | -0/+2 | |
| 2023-01-09 | migrate: `let_underscore.rs` | Rejyr | -0/+12 | |
| fix: NonBindingLetSub | ||||
| 2023-01-09 | migrate: `levels.rs` | Rejyr | -0/+12 | |
| 2023-01-09 | add: `emit{,_spanned}_lint` for `LintLevelsBuilder` | Rejyr | -0/+4 | |
| add: `emit_spanned_lint` and `emit_lint` for `LintLevelsBuilder` migrate: `DeprecatedLintName` | ||||
| 2023-01-09 | Remove backwards compat for LLVM 12 coverage format | Arpad Borsos | -3/+0 | |
| 2023-01-08 | Mention signature rather than fn pointers when comparing impl/trait methods | Michael Goulet | -2/+2 | |
| 2023-01-07 | Rollup merge of #104543 - ↵ | Matthias Krüger | -0/+99 | |
| JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt3, r=davidtwco Migrate `codegen_ssa` to diagnostics structs - [Part 3] Completes migrating `codegen_ssa` module except 2 outstanding errors that depend on other crates: 1. [`rustc_middle::mir::interpret::InterpError`](https://github.com/rust-lang/rust/blob/b6097f2e1b2ca62e188ba53cf43bd66b06b36915/compiler/rustc_middle/src/mir/interpret/error.rs#L475): I saw `rustc_middle` is unassigned, I am open to take this work. 2. `codegen_llvm`'s use of `fn span_invalid_monomorphization_error`, which I started to replace in the [last commit](https://github.com/rust-lang/rust/commit/9a31b3cdda78a2c0891828254fe9886e0a1cfd16) of this PR, but would like to know the team's preference on how we should keep replacing the other macros: 2.1. Update macros to expect a `Diagnostic` 2.2. Remove macros and expand the code on each use. See [some examples of the different options in this experimental commit](https://github.com/JhonnyBillM/rust/commit/64aee83e80857dcfa450f0c6e31d5f29c6d577e6) _Part 2 - https://github.com/rust-lang/rust/pull/103792_ r? ``@davidtwco`` Cc ``@compiler-errors`` | ||||
| 2023-01-07 | Rollup merge of #101936 - IntQuant:issue-100717-infer-4, r=compiler-errors | Matthias Krüger | -0/+139 | |
| Migrating rustc_infer to session diagnostics (part 3) ``@rustbot`` label +A-translation r? rust-lang/diagnostics cc https://github.com/rust-lang/rust/issues/100717 Seems like a part of static_impl_trait.rs emits suggestions in a loop, and note.rs needs to have two instances of the same subdiagnostic, so these will need to wait until we have eager translation/list support. Other than that, there is only error_reporting/mod.rs left to migrate. | ||||
| 2023-01-04 | Auto merge of #106224 - bjorn3:staticlib_fixes, r=wesleywiser | bors | -2/+0 | |
| Small fixes for --crate-type staticlib The first commit doesn't have an effect until we start translating error messages. The second commit fixes potential linker errors when combining `--crate-type staticlib` with another crate type and I think `-Cprefer-dynamic`. | ||||
| 2023-01-04 | Rollup merge of #106361 - clubby789:int-literal-too-large, r=estebank | Matthias Krüger | -0/+1 | |
| Note maximum integer literal for `IntLiteralTooLarge` Closes #105908 `@rustbot` label +A-diagnostics | ||||
| 2023-01-03 | Auto merge of #105609 - bjorn3:shrink_rustc_dev, r=jyn514 | bors | -0/+5 | |
| Only include metadata for non-dynamic libraries in rustc-dev The actual object code should be linked from librustc_driver.so, which is still included in rustc-dev. This saves on download time and disk usage. Fixes https://github.com/rust-lang/rust/issues/103538 | ||||
| 2023-01-02 | Print correct base for too-large literals | clubby789 | -1/+1 | |
| Also update tests | ||||
| 2023-01-02 | Note maximum integer literal for `IntLiteralTooLarge` | clubby789 | -0/+1 | |
| 2022-12-31 | Add help for the error message when missing rustc_driver | bjorn3 | -0/+5 | |
| 2022-12-31 | refactor: merge `E0465` into `E0464` | Ezra Shaw | -5/+1 | |
| 2022-12-28 | Don't translate --print native-static-libs output | bjorn3 | -2/+0 | |
| This breaks tools that depend on the prefix | ||||
| 2022-12-28 | Split infer_explicit_lifetime_required into several diags | Nikita Tomashevich | -8/+7 | |
| 2022-12-28 | Rename subdiagnostic fields that do not need to be unique now | Nikita Tomashevich | -3/+3 | |
| 2022-12-28 | Use eager translation | Nikita Tomashevich | -1/+1 | |
| 2022-12-28 | Split into several messages | Nikita Tomashevich | -16/+55 | |
| 2022-12-28 | More descriptive names for ActualImplExplNotes variants | Nikita Tomashevich | -2/+2 | |
| 2022-12-28 | Partial work on static_impl_trait.rs | Nikita Tomashevich | -0/+52 | |
| 2022-12-28 | Migrate trait_impl_difference.rs | Nikita Tomashevich | -0/+10 | |
| 2022-12-28 | Migrate placeholder_error.rs | Nikita Tomashevich | -0/+28 | |
| 2022-12-28 | Migrate named_anon_conflict.rs | Nikita Tomashevich | -0/+11 | |
| 2022-12-27 | DELETE - fn span_invalid_monomorphization_error and localize intrinsics macros | Jhonny Bill Mena | -0/+66 | |
| 2022-12-27 | ADD - create and emit Bug support for Diagnostics | Jhonny Bill Mena | -0/+2 | |
| UPDATE - migrate constant span_bug to translatable diagnostic. | ||||
| 2022-12-27 | UPDATE - migrate fn simd_simple_float_intrinsic error messages | Jhonny Bill Mena | -0/+6 | |
| 2022-12-27 | [WIP] UPDATE - migrate intrinsic.rs to new diagnostic infrastructure | Jhonny Bill Mena | -0/+14 | |
| WIP - replacing span_invalid_monomorphization_error function. Still in progress due to its use in codegen_llvm inside macros | ||||
| 2022-12-27 | UPDATE - migrate constant.rs to new diagnostics infrastructure | Jhonny Bill Mena | -0/+4 | |
| 2022-12-27 | UPDATE - migrate base.rs to new diagnostics infrastructure | Jhonny Bill Mena | -0/+7 | |
| 2022-12-27 | Recover `fn` keyword as `Fn` trait in bounds | Michael Goulet | -0/+3 | |
| 2022-12-24 | Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk | Matthias Krüger | -3/+1 | |
| rustc: Remove needless lifetimes | ||||
| 2022-12-23 | Rollup merge of #106057 - jyn514:trimmed-def-paths-ice, r=compiler-errors | Matthias Krüger | -1/+1 | |
| Give a more helpful error for "trimmed_def_paths constructed" cc https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/ice.20debugging/near/315928294, https://github.com/rust-lang/rust/pull/106056 `@mejrs` do you think this would have helped you figure out the problem faster? | ||||
| 2022-12-22 | Give a more helpful error for "trimmed_def_paths construted" | Joshua Nelson | -1/+1 | |
| 2022-12-21 | Improve code based on feedback. | Bryan Garza | -1/+1 | |
| This patch improves the readability of some of the code by using if-let-chains. Also, make use of the `add_feature_diagnostics` function. | ||||
| 2022-12-21 | update wording of lint | Bryan Garza | -1/+1 | |
| 2022-12-21 | Update code based on PR comments | Bryan Garza | -1/+2 | |
| This patch does the following: - Refactor some repeated lines into a single one - Split the `ungated_async_fn_caller` lint into multiple lines, and make one of those lines only print out on nightly - Use test revisions instead of copying an existing test | ||||
| 2022-12-21 | Switch `#[track_caller]` back to a no-op unless feature gate is enabled | Bryan Garza | -0/+2 | |
| This patch fixes a regression, in which `#[track_caller]`, which was previously a no-op, was changed to actually turn on the behavior. This should instead only happen behind the `closure_track_caller` feature gate. Also, add a warning for the user to understand how their code will compile depending on the feature gate being turned on or not. Fixes #104588 | ||||
| 2022-12-20 | rustc: Remove needless lifetimes | Jeremy Stucki | -3/+1 | |
