| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
