| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-02-16 | Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnay | bors | -0/+1 | |
| Use generic `NonZero` internally. Tracking issue: https://github.com/rust-lang/rust/issues/120257 | ||||
| 2024-02-15 | Use generic `NonZero` internally. | Markus Reiter | -0/+1 | |
| 2024-02-14 | Continue compilation even if inherent impl checks fail | Oli Scherer | -2/+3 | |
| 2024-02-14 | Continue compilation after check_mod_type_wf errors | Oli Scherer | -2/+4 | |
| 2024-02-10 | Remove unnecessary `min_specialization` after bootstrap | Zalathar | -1/+1 | |
| These crates all needed specialization for `newtype_index!`, which will no longer be necessary when the current nightly eventually becomes the next bootstrap compiler. | ||||
| 2024-02-09 | Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwco | Matthias Krüger | -0/+2 | |
| Invert diagnostic lints. That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has been converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted. r? ````@davidtwco```` | ||||
| 2024-02-08 | Continue to borrowck even if there were previous errors | Oli Scherer | -1/+1 | |
| 2024-02-06 | Invert diagnostic lints. | Nicholas Nethercote | -0/+2 | |
| That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has be converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted. | ||||
| 2024-02-05 | Stop bailing out from compilation just because there were incoherent traits | Oli Scherer | -2/+2 | |
| 2024-01-25 | Remove unused features | clubby789 | -3/+0 | |
| 2024-01-23 | Remove track_errors entirely | Oli Scherer | -10/+6 | |
| 2024-01-21 | Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwU | bors | -2/+2 | |
| Don't forget that the lifetime on hir types is `'tcx` This PR just tracks the `'tcx` lifetime to wherever the original objects actually have that lifetime. This code is needed for https://github.com/rust-lang/rust/pull/107606 (now #120131) so that `ast_ty_to_ty` can invoke `lit_to_const` on an argument passed to it. Currently the argument is `&hir::Ty<'_>`, but after this PR it is `&'tcx hir::Ty<'tcx>`. | ||||
| 2024-01-18 | Don't forget that the lifetime on hir types is `'tcx` | Oli Scherer | -2/+2 | |
| 2024-01-17 | Make crate_inherent_impls fallible and stop using `track_errors` for it | Oli Scherer | -3/+2 | |
| 2024-01-17 | Make crate_inherent_impls_overlap_check bubble up its errors | Oli Scherer | -1/+1 | |
| 2024-01-17 | Move `check_mod_impl_wf` query call out of track_errors and bubble errors up ↵ | Oli Scherer | -7/+8 | |
| instead. | ||||
| 2024-01-17 | Stop using track_errors for some forever unstable rustc_attr analyses | Oli Scherer | -7/+3 | |
| 2024-01-13 | Auto merge of #119088 - George-lewis:glewis/suggest-upgrading-compiler, ↵ | bors | -7/+2 | |
| r=Nilstrieb Suggest Upgrading Compiler for Gated Features This PR addresses #117318 I have a few questions: 1. Do we want to specify the current version and release date of the compiler? I have added this in via environment variables, which I found in the code for the rustc cli where it handles the `--version` flag a. How can I handle the changing message in the tests? 3. Do we want to only show this message when the compiler is old? a. How can we determine when the compiler is old? I'll wait until we figure out the message to bless the tests | ||||
| 2024-01-13 | Add check for ui_testing via promoting parameters from `ParseSess` to `Session` | George-lewis | -7/+2 | |
| 2024-01-13 | Rollup merge of #119587 - beepster4096:system_varargs, r=petrochenkov | Matthias Krüger | -1/+2 | |
| Varargs support for system ABI This PR allows functions with the `system` ABI to be variadic (under the `extended_varargs_abi_support` feature tracked in #100189). On x86 windows, the `system` ABI is equivalent to `C` for variadic functions. On other platforms, `system` is already equivalent to `C`. Fixes #110505 | ||||
| 2024-01-12 | allow system abi to be variadic | beepster4096 | -1/+2 | |
| 2024-01-09 | Avoid silencing relevant follow-up errors | Oli Scherer | -6/+5 | |
| 2024-01-02 | Merge check_for_entry_fn fully into check_mod_type_wf | Oli Scherer | -7/+2 | |
| 2024-01-02 | Reorder `check_item_type` diagnostics so they occur next to the ↵ | Oli Scherer | -6/+2 | |
| corresponding `check_well_formed` diagnostics | ||||
| 2023-12-24 | Remove more `Session` methods that duplicate `DiagCtxt` methods. | Nicholas Nethercote | -1/+1 | |
| 2023-12-24 | Remove `Session` methods that duplicate `DiagCtxt` methods. | Nicholas Nethercote | -1/+1 | |
| Also add some `dcx` methods to types that wrap `TyCtxt`, for easier access. | ||||
| 2023-12-02 | Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`. | Nicholas Nethercote | -2/+2 | |
| Because the corresponding `Level` is `DelayedBug` and `span_delayed_bug` follows the pattern used everywhere else: `span_err`, `span_warning`, etc. | ||||
| 2023-11-26 | Use `rustc_fluent_macro::fluent_messages!` directly. | Nicholas Nethercote | -2/+1 | |
| Currently we always do this: ``` use rustc_fluent_macro::fluent_messages; ... fluent_messages! { "./example.ftl" } ``` But there is no need, we can just do this everywhere: ``` rustc_fluent_macro::fluent_messages! { "./example.ftl" } ``` which is shorter. | ||||
| 2023-11-26 | Avoid need for `{D,Subd}iagnosticMessage` imports. | Nicholas Nethercote | -1/+0 | |
| The `fluent_messages!` macro produces uses of `crate::{D,Subd}iagnosticMessage`, which means that every crate using the macro must have this import: ``` use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage}; ``` This commit changes the macro to instead use `rustc_errors::{D,Subd}iagnosticMessage`, which avoids the need for the imports. | ||||
| 2023-11-15 | Bump cfg(bootstrap)s | Mark Rousskov | -3/+3 | |
| 2023-10-25 | Auto merge of #117180 - matthiaskrgr:rollup-rxhl6ep, r=matthiaskrgr | bors | -2/+6 | |
| Rollup of 7 pull requests Successful merges: - #117111 (Remove support for alias `-Z instrument-coverage`) - #117141 (Require target features to match exactly during inlining) - #117152 (Fix unwrap suggestion for async fn) - #117154 (implement C ABI lowering for CSKY) - #117159 (Work around the fact that `check_mod_type_wf` may spuriously return `ErrorGuaranteed`) - #117163 (compiletest: Display compilation errors in mir-opt tests) - #117173 (Make `Iterator` a lang item) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2023-10-25 | Work around the fact that `check_mod_type_wf` may spuriously return ↵ | Oli Scherer | -2/+6 | |
| `ErrorGuaranteed`, even if that error is only emitted by `check_modwitem_types` | ||||
| 2023-10-24 | Merge impl_wf_inference into coherence checking | Michael Goulet | -6/+3 | |
| 2023-10-23 | Let's see what those opaque types actually are | Michael Goulet | -0/+4 | |
| 2023-10-23 | Allow `ensure` queries to return `Result<(), ErrorGuaranteed>` | Oli Scherer | -1/+1 | |
| 2023-10-20 | Avoid a `track_errors` by bubbling up most errors from `check_well_formed` | Oli Scherer | -4/+2 | |
| 2023-10-08 | rustdoc: remove rust logo from non-Rust crates | Michael Howell | -0/+3 | |
| 2023-09-19 | rustc_hir_analysis: add a helper to check function the signature mismatches | Eduardo Sánchez Muñoz | -25/+1 | |
| This function is now used to check `#[panic_handler]`, `start` lang item, `main`, `#[start]` and intrinsic functions. The diagnosis produced are now closer to the ones produced by trait/impl method signature mismatch. | ||||
| 2023-09-14 | Enable varargs support for AAPCS calling convention | Soveu | -1/+1 | |
| This is the default calling convention for ARM - it is used for extern "C", therefore it supports varargs. | ||||
| 2023-09-02 | Freeze `Definitions` earlier | John Kåre Alsaker | -0/+4 | |
| 2023-07-16 | Querify unused trait check. | Camille GILLOT | -1/+2 | |
| 2023-07-15 | Check entry type as part of item type checking. | Camille GILLOT | -268/+2 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -4/+4 | |
| 2023-07-11 | typeck in parallel | SparrowLii | -0/+12 | |
| 2023-07-05 | Move `TyCtxt::mk_x` to `Ty::new_x` where applicable | Boxy | -13/+19 | |
| 2023-06-14 | remove hash_drain_filter feature uses | The 8472 | -1/+0 | |
| 2023-06-14 | s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedList | The 8472 | -1/+0 | |
| 2023-05-15 | Move expansion of query macros in rustc_middle to rustc_middle::query | John Kåre Alsaker | -1/+1 | |
| 2023-05-02 | Implement negative bounds | Michael Goulet | -0/+1 | |
| 2023-05-01 | Do not consider associated type bounds for ↵ | Michael Goulet | -1/+2 | |
| super_predicates_that_define_assoc_type | ||||
