| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -47/+175 | |
| 2023-11-29 | Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors | Matthias Krüger | -0/+2 | |
| Add `never_patterns` feature gate This PR adds the feature gate and most basic parsing for the experimental `never_patterns` feature. See the tracking issue (https://github.com/rust-lang/rust/issues/118155) for details on the experiment. `@scottmcm` has agreed to be my lang-team liaison for this experiment. | ||||
| 2023-11-29 | Add `never_patterns` feature gate | Nadrieril | -0/+2 | |
| 2023-11-28 | Rework `ast::BinOpKind::to_string` and `ast::UnOp::to_string`. | Nicholas Nethercote | -1/+1 | |
| - Rename them both `as_str`, which is the typical name for a function that returns a `&str`. (`to_string` is appropriate for functions returning `String` or maybe `Cow<'a, str>`.) - Change `UnOp::as_str` from an associated function (weird!) to a method. - Avoid needless `self` dereferences. | ||||
| 2023-11-26 | rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` ↵ | Vadim Petrochenkov | -4/+4 | |
| cleanup | ||||
| 2023-11-25 | Appease the clippy | Michael Goulet | -1/+1 | |
| 2023-11-22 | Update itertools to 0.11. | Nicholas Nethercote | -1/+1 | |
| Because the API for `with_position` improved in 0.11 and I want to use it. | ||||
| 2023-11-17 | rename bound region instantiation | lcnr | -4/+4 | |
| - `erase_late_bound_regions` -> `instantiate_bound_regions_with_erased` - `replace_late_bound_regions_X` -> `instantiate_bound_regions_X` | ||||
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -172/+528 | |
| 2023-11-13 | update type flags | lcnr | -2/+2 | |
| - `HAS_RE_LATE_BOUND` -> `HAS_RE_BOUND` - `HAS_TY_LATE_BOUND` -> `HAS_TY_BOUND` - `HAS_CT_LATE_BOUND` -> `HAS_CT_BOUND` - `HAS_LATE_BOUND` -> `HAS_BOUND_VARS` - `fn has_late_bound_regions` -> `fn has_bound_regions` - `fnhas_non_region_late_bound` -> `fn has_non_region_bound_vars` - `fn has_late_bound_vars` -> `fn has_bound_vars` | ||||
| 2023-11-13 | rename `ReLateBound` to `ReBound` | lcnr | -1/+1 | |
| other changes: - `Region::new_late_bound` -> `Region::new_bound` - `Region::is_late_bound` -> `Region::is_bound` | ||||
| 2023-11-03 | Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb | bors | -2/+2 | |
| `rustc_span` cleanups Just some things I found while looking over this crate. r? `@oli-obk` | ||||
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -253/+134 | |
| 2023-11-02 | Minimize `pub` usage in `source_map.rs`. | Nicholas Nethercote | -2/+2 | |
| Most notably, this commit changes the `pub use crate::*;` in that file to `use crate::*;`. This requires a lot of `use` items in other crates to be adjusted, because everything defined within `rustc_span::*` was also available via `rustc_span::source_map::*`, which is bizarre. The commit also removes `SourceMap::span_to_relative_line_string`, which is unused. | ||||
| 2023-11-01 | Rename hook. | Camille GILLOT | -1/+1 | |
| 2023-10-29 | Rename Since -> StableSince in preparation for a DeprecatedSince | David Tolnay | -4/+4 | |
| 2023-10-29 | Auto merge of #116447 - oli-obk:gen_fn, r=compiler-errors | bors | -2/+2 | |
| Implement `gen` blocks in the 2024 edition Coroutines tracking issue https://github.com/rust-lang/rust/issues/43122 `gen` block tracking issue https://github.com/rust-lang/rust/issues/117078 This PR implements `gen` blocks that implement `Iterator`. Most of the logic with `async` blocks is shared, and thus I renamed various types that were referring to `async` specifically. An example usage of `gen` blocks is ```rust fn foo() -> impl Iterator<Item = i32> { gen { yield 42; for i in 5..18 { if i.is_even() { continue } yield i * 2; } } } ``` The limitations (to be resolved) of the implementation are listed in the tracking issue | ||||
| 2023-10-27 | Add gen blocks to ast and do some broken ast lowering | Oli Scherer | -2/+2 | |
| 2023-10-26 | Parse rustc version at compile time | David Tolnay | -15/+8 | |
| 2023-10-24 | Expose a non-Symbol way to access current rustc version string | David Tolnay | -4/+3 | |
| 2023-10-24 | Handle structured stable attribute 'since' version in clippy | David Tolnay | -12/+19 | |
| 2023-10-21 | Merge commit '2b030eb03d9e5837440b1ee0b98c50b97c0c5889' into clippyup | Philipp Krones | -94/+169 | |
| 2023-10-20 | s/generator/coroutine/ | Oli Scherer | -1/+1 | |
| 2023-10-20 | s/Generator/Coroutine/ | Oli Scherer | -1/+1 | |
| 2023-10-18 | AliasTy::new instead of tcx method | lcnr | -1/+1 | |
| 2023-10-16 | fix lint failures in clippy | Arthur Lafrance | -1/+1 | |
| 2023-10-06 | Merge commit 'b105fb4c39bc1a010807a6c076193cef8d93c109' into clippyup | Philipp Krones | -57/+91 | |
| 2023-10-05 | Add more diagnostic items for clippy | Jason Newcomb | -54/+4 | |
| 2023-10-03 | Auto merge of #115025 - ouz-a:ouz_testing, r=lcnr | bors | -0/+1 | |
| Make subtyping explicit in MIR This adds new mir-opt that pushes new `ProjectionElem` called `ProjectionElem::Subtype(T)` to `Rvalue` of a subtyped assignment so we can unsoundness issues like https://github.com/rust-lang/rust/issues/107205 Addresses https://github.com/rust-lang/rust/issues/112651 r? `@lcnr` | ||||
| 2023-10-02 | subtyping_projections | ouz-a | -0/+1 | |
| 2023-10-01 | Auto merge of #115670 - Zoxc:outline-panic-macro-1, r=Mark-Simulacrum | bors | -3/+13 | |
| Partially outline code inside the panic! macro This outlines code inside the panic! macro in some cases. This is split out from https://github.com/rust-lang/rust/pull/115562 to exclude changes to rustc. | ||||
| 2023-09-28 | Reverse postorder instead of using reversed postorder | Maybe Waffle | -13/+19 | |
| 2023-09-27 | Auto merge of #116163 - compiler-errors:lazyness, r=oli-obk | bors | -2/+2 | |
| Don't store lazyness in `DefKind::TyAlias` 1. Don't store lazyness of a type alias in its `DefKind`, but instead via a query. 2. This allows us to treat type aliases as lazy if `#[feature(lazy_type_alias)]` *OR* if the alias contains a TAIT, rather than having checks for both in separate parts of the codebase. r? `@oli-obk` cc `@fmease` | ||||
| 2023-09-26 | Don't store lazyness in DefKind | Michael Goulet | -2/+2 | |
| 2023-09-25 | Merge commit '7671c283a50b5d1168841f3014b14000f01dd204' into clippyup | Philipp Krones | -37/+89 | |
| 2023-09-22 | Add a way to decouple the implementation and the declaration of a TyCtxt method. | Oli Scherer | -1/+1 | |
| 2023-09-22 | Auto merge of #114776 - fee1-dead-contrib:enable-effects-in-libcore, r=oli-obk | bors | -2/+3 | |
| Enable effects for libcore ~~r? `@oli-obk~~` forgot you are on vacation, oops | ||||
| 2023-09-22 | fix clippy errors (ignore effects in certainty) | Deadbeef | -2/+3 | |
| 2023-09-21 | Record asyncness span in HIR | Michael Goulet | -3/+3 | |
| 2023-09-21 | rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const | Ralf Jung | -13/+13 | |
| 2023-09-19 | move ConstValue into mir | Ralf Jung | -2/+2 | |
| this way we have mir::ConstValue and ty::ValTree as reasonably parallel | ||||
| 2023-09-14 | Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naber | bors | -1/+1 | |
| Improve invalid let expression handling - Move all of the checks for valid let expression positions to parsing. - Add a field to ExprKind::Let in AST/HIR to mark whether it's in a valid location. - Suppress some later errors and MIR construction for invalid let expressions. - Fix a (drop) scope issue that was also responsible for #104172. Fixes #104172 Fixes #104868 | ||||
| 2023-09-14 | fix clippy (and MIR printing) handling of ConstValue::Indirect slices | Ralf Jung | -13/+4 | |
| 2023-09-14 | cleanup op_to_const a bit; rename ConstValue::ByRef → Indirect | Ralf Jung | -1/+1 | |
| 2023-09-14 | use AllocId instead of Allocation in ConstValue::ByRef | Ralf Jung | -25/+28 | |
| 2023-09-12 | Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup | Philipp Krones | -6/+26 | |
| 2023-09-11 | Update tools and fulldeps tests | Matthew Jasper | -1/+1 | |
| 2023-09-08 | Partially outline code inside the panic! macro | John Kåre Alsaker | -3/+13 | |
| 2023-09-07 | Use `Freeze` for `SourceFile.lines` | John Kåre Alsaker | -1/+1 | |
| 2023-09-03 | Use relative positions inside a SourceFile. | Camille GILLOT | -4/+4 | |
