| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-03-21 | Use local key in providers | Michael Goulet | -3/+1 | |
| 2023-01-30 | session: diagnostic migration lint on more fns | David Wood | -2/+2 | |
| Apply the diagnostic migration lint to more functions on `Session`. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2023-01-12 | Expand format_args!() in rust_ast_lowering. | Mara Bos | -1/+1 | |
| 2022-10-07 | Remove code that was removed in master, and the corresponding diagnostic | Nathan Stocks | -21/+1 | |
| 2022-10-07 | migrate check_const.rs to translateable diagnostics | Nathan Stocks | -4/+29 | |
| 2022-10-04 | Merge the `~const` and `impl const` checks and add some explanatory notes | Oli Scherer | -26/+0 | |
| 2022-09-30 | Use let chains instead of let else | fee1-dead | -1/+1 | |
| 2022-09-27 | Fix ICE in const_trait check code | Deadbeef | -1/+1 | |
| This fixes #102156. | ||||
| 2022-09-16 | Require `#[const_trait]` for `const` `impl`s | Deadbeef | -0/+22 | |
| 2022-08-01 | Remove trait_of_item query. | Camille GILLOT | -1/+1 | |
| 2022-07-13 | Rename `debugging_opts` to `unstable_opts` | Joshua Nelson | -1/+1 | |
| This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear. | ||||
| 2022-07-07 | Reword comments and rename HIR visiting methods. | Camille GILLOT | -1/+1 | |
| 2022-05-30 | Remove `#[default..]` and add `#[const_trait]` | Deadbeef | -62/+0 | |
| 2022-05-14 | allocate string only when error will be emitted | Miguel Guarniz | -2/+7 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-05-13 | change back to using tcx.hir() visit-item method | Miguel Guarniz | -29/+7 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-05-13 | replace hir().def_kind for def_kind query in rustc_passes | Miguel Guarniz | -1/+1 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-05-13 | replace usage of visit_item_likes_in_modules with hir_module_items query | Miguel Guarniz | -2/+20 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-05-13 | Remove CheckConstTraitVisitor | Miguel Guarniz | -68/+54 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-05-10 | only_local: always check for misuse | lcnr | -4/+6 | |
| 2022-03-30 | Spellchecking compiler comments | Yuri Astrakhan | -1/+1 | |
| This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues. | ||||
| 2022-03-22 | use `format-args-capture` and remove unnecessary nested if blocks in some ↵ | Takayuki Maeda | -3/+1 | |
| parts of rustc_passes break before the `&&` Update compiler/rustc_passes/src/check_const.rs Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com> | ||||
| 2022-02-23 | rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission". | Eduard-Mihai Burtescu | -1/+3 | |
| 2022-01-16 | Replace NestedVisitorMap with NestedFilter | Cameron Steffen | -5/+5 | |
| 2022-01-07 | Add query to avoid name comparison in `leaf_def` | Matthew Jasper | -5/+8 | |
| 2021-12-15 | Remove `in_band_lifetimes` for `rustc_passes` | Peter Jaszkowiak | -4/+4 | |
| 2021-11-24 | Allow features like const_try in d_m_b_i_c | Deadbeef | -0/+6 | |
| 2021-11-07 | more clippy fixes | Matthias Krüger | -3/+3 | |
| 2021-10-11 | Use Ancestory to check default fn in const impl instead of comparing idents | Gary Guo | -18/+26 | |
| 2021-08-15 | Introduce hir::ExprKind::Let - Take 2 | Caio | -7/+2 | |
| 2021-07-29 | Add feature gates for `for` and `?` in consts | Jonas Schievink | -4/+5 | |
| 2021-07-10 | Applied suggestions | Deadbeef | -11/+6 | |
| 2021-07-10 | Add #[default_method_body_is_const] | Deadbeef | -18/+31 | |
| 2021-07-01 | Do the check even when the feature is not enabled | Deadbeef | -3/+6 | |
| 2021-06-23 | deny using default function in impl const Trait | Deadbeef | -0/+59 | |
| 2021-02-21 | remove redundant wrapping of return types of allow_internal_unstable() and ↵ | Matthias Krüger | -1/+1 | |
| rustc_allow_const_fn_unstable() | ||||
| 2021-02-17 | replace if-let and while-let with `if let` and `while let` | Takayuki Maeda | -1/+1 | |
| 2021-01-21 | Add loop head span to hir | Esteban Küber | -1/+1 | |
| 2021-01-07 | Reintroduce hir::ExprKind::If | Caio | -3/+1 | |
| 2020-12-06 | Implement lowering of if-let guards to MIR | LeSeulArtichaut | -0/+2 | |
| 2020-11-07 | Allow making `RUSTC_BOOTSTRAP` conditional on the crate name | Joshua Nelson | -2/+1 | |
| The main change is that `UnstableOptions::from_environment` now requires an (optional) crate name. If the crate name is unknown (`None`), then the new feature is not available and you still have to use `RUSTC_BOOTSTRAP=1`. In practice this means the feature is only available for `--crate-name`, not for `#![crate_name]`; I'm interested in supporting the second but I'm not sure how. Other major changes: - Added `Session::is_nightly_build()`, which uses the `crate_name` of the session - Added `nightly_options::match_is_nightly_build`, a convenience method for looking up `--crate-name` from CLI arguments. `Session::is_nightly_build()`should be preferred where possible, since it will take into account `#![crate_name]` (I think). - Added `unstable_features` to `rustdoc::RenderOptions` There is a user-facing change here: things like `RUSTC_BOOTSTRAP=0` no longer active nightly features. In practice this shouldn't be a big deal, since `RUSTC_BOOTSTRAP` is the opposite of stable and everyone uses `RUSTC_BOOTSTRAP=1` anyway. - Add tests Check against `Cheat`, not whether nightly features are allowed. Nightly features are always allowed on the nightly channel. - Only call `is_nightly_build()` once within a function - Use booleans consistently for rustc_incremental Sessions can't be passed through threads, so `read_file` couldn't take a session. To be consistent, also take a boolean in `write_file_header`. | ||||
| 2020-10-21 | switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable | Florian Warzecha | -3/+3 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+227 | |
