| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2023-08-29 | Auto merge of #115183 - flip1995:clippyup, r=Manishearth,oli-obk | bors | -6/+4 | |
| Update Clippy r? `@oli-obk` Assigning you, because something broke with ui_test: ``` tests/ui/crashes/ice-7272.rs FAILED: command: "<unknown>" A bug in `ui_test` occurred: called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } full stderr: ``` (and that 103 times) Thought I would ping you, before starting to investigate. Maybe you know what's going on. | ||||
| 2023-08-24 | Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup | Philipp Krones | -6/+4 | |
| 2023-08-24 | when terminating during unwinding, show the reason why | Ralf Jung | -1/+1 | |
| 2023-08-23 | Fix clippy lint for identical `if`/`else` contraining `?` expressions | Esteban Küber | -1/+2 | |
| Follow up to #114819. | ||||
| 2023-08-20 | give some unwind-related terminators a more clear name | Ralf Jung | -2/+2 | |
| 2023-08-15 | Rollup merge of #114819 - estebank:issue-78124, r=compiler-errors | Matthias Krüger | -3/+3 | |
| Point at return type when it influences non-first `match` arm When encountering code like ```rust fn foo() -> i32 { match 0 { 1 => return 0, 2 => "", _ => 1, } } ``` Point at the return type and not at the prior arm, as that arm has type `!` which isn't influencing the arm corresponding to arm `2`. Fix #78124. | ||||
| 2023-08-15 | Rollup merge of #114772 - fee1-dead-contrib:typed-did, r=b-naber | Guillaume Gomez | -4/+4 | |
| Add `{Local}ModDefId` to more strongly type DefIds` Based on #110862 by `@Nilstrieb` | ||||
| 2023-08-14 | Move scrutinee `HirId` into `MatchSource::TryDesugar` | Esteban Küber | -3/+3 | |
| 2023-08-14 | Use `{Local}ModDefId` in many queries | Nilstrieb | -4/+4 | |
| 2023-08-14 | Remove constness from `ImplSource::Param` | Deadbeef | -1/+1 | |
| 2023-08-11 | Merge commit '1e8fdf492808a25d78a97e1242b835ace9924e4d' into clippyup | Philipp Krones | -5/+14 | |
