| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-11-27 | Print list of missing target features when calling a function with target ↵ | Eduardo Sánchez Muñoz | -3/+10 | |
| features outside an unsafe block | ||||
| 2023-11-23 | remove unused pub fn | klensy | -58/+0 | |
| 2023-11-22 | Replace `custom_encodable` with `encodable`. | Nicholas Nethercote | -0/+1 | |
| By default, `newtype_index!` types get a default `Encodable`/`Decodable` impl. You can opt out of this with `custom_encodable`. Opting out is the opposite to how Rust normally works with autogenerated (derived) impls. This commit inverts the behaviour, replacing `custom_encodable` with `encodable` which opts into the default `Encodable`/`Decodable` impl. Only 23 of the 59 `newtype_index!` occurrences need `encodable`. Even better, there were eight crates with a dependency on `rustc_serialize` just from unused default `Encodable`/`Decodable` impls. This commit removes that dependency from those eight crates. | ||||
| 2023-11-20 | Rollup merge of #117835 - Nilstrieb:note-object-lifetime-defaults, ↵ | Matthias Krüger | -1/+5 | |
| r=compiler-errors Note about object lifetime defaults in does not live long enough error This is a aspect of Rust that frequently trips up people who are not aware of it yet. This diagnostic attempts to explain what's happening and why the lifetime constraint, that was never mentioned in the source, arose. The implementation feels a bit questionable, I'm not sure whether there are better ways to do this. There probably are. fixes #117835 r? types | ||||
| 2023-11-13 | rename `ReLateBound` to `ReBound` | lcnr | -2/+2 | |
| other changes: - `Region::new_late_bound` -> `Region::new_bound` - `Region::is_late_bound` -> `Region::is_bound` | ||||
| 2023-11-12 | Note about object lifetime defaults in does not live long enough error | Nilstrieb | -1/+5 | |
| This is a aspect of Rust that frequently trips up people who are not aware of it yet. This diagnostic attempts to explain what's happening and why the lifetime constraint, that was never mentioned in the source, arose. | ||||
| 2023-10-20 | s/generator/coroutine/ | Oli Scherer | -4/+4 | |
| 2023-10-20 | s/Generator/Coroutine/ | Oli Scherer | -10/+10 | |
| 2023-10-18 | coverage: Store the number of counters/expressions in function coverage info | Zalathar | -9/+15 | |
| Coverage codegen can now allocate arrays based on the number of counters/expressions originally used by the instrumentor. The existing query that inspects coverage statements is still used for determining the number of counters passed to `llvm.instrprof.increment`. If some high-numbered counters were removed by MIR optimizations, the instrumented binary can potentially use less memory and disk space at runtime. | ||||
| 2023-09-24 | Remove span from BrAnon. | Camille GILLOT | -2/+1 | |
| 2023-09-19 | move ConstValue into mir | Ralf Jung | -2/+1 | |
| this way we have mir::ConstValue and ty::ValTree as reasonably parallel | ||||
| 2023-09-18 | Remove unused `Lift` derives. | Nicholas Nethercote | -1/+1 | |
| I found these by commenting out all `Lift` derives and then adding back the ones that were necessary to successfully compile. | ||||
| 2023-07-30 | inline format!() args up to and including rustc_middle | Matthias Krüger | -1/+1 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -4/+4 | |
| 2023-07-05 | Specialize `DestructuredConstant` to its one user (pretty printing) | Oli Scherer | -2/+2 | |
| 2023-06-19 | Store generator field names in GeneratorLayout. | Camille GILLOT | -0/+4 | |
| 2023-05-29 | Rename `tcx.mk_re_*` => `Region::new_*` | Maybe Waffle | -1/+1 | |
| 2023-04-24 | Split `{Idx, IndexVec, IndexSlice}` into their own modules | Maybe Waffle | -1/+1 | |
| 2023-04-20 | Remove WithOptconstParam. | Camille GILLOT | -41/+2 | |
| 2023-04-06 | Remove index from BrAnon | Jack Huey | -4/+2 | |
| 2023-03-28 | Move `mir::Field` → `abi::FieldIdx` | Scott McMurray | -6/+6 | |
| The first PR for https://github.com/rust-lang/compiler-team/issues/606 This is just the move-and-rename, because it's plenty big-and-bitrotty already. Future PRs will start using `FieldIdx` more broadly, and concomitantly removing `FieldIdx::new`s. | ||||
| 2023-03-17 | Remove VecMap | Michael Goulet | -2/+2 | |
| 2023-03-08 | Auto merge of #108312 - michaelwoerister:hash-set-not-hash-stable, r=eholk | bors | -2/+2 | |
| Do not implement HashStable for HashSet (MCP 533) This PR removes all occurrences of `HashSet` in query results, replacing it either with `FxIndexSet` or with `UnordSet`, and then removes the `HashStable` implementation of `HashSet`. This is part of implementing [MCP 533](https://github.com/rust-lang/compiler-team/issues/533), that is, removing the `HashStable` implementations of all collection types with unstable iteration order. The changes are mostly mechanical. The only place where additional sorting is happening is in Miri's override implementation of the `exported_symbols` query. | ||||
| 2023-03-04 | tweak ClosureOutlivesSubjectTy | Ali MJ Al-Nasrawy | -7/+10 | |
| 2023-03-03 | promote subject even if it has unnamed regions | Ali MJ Al-Nasrawy | -12/+45 | |
| Don't require a region to have an `external_name` in order to be promoted. | ||||
| 2023-03-01 | Remove last instances of HashSet in query result types. | Michael Woerister | -2/+2 | |
| 2023-02-14 | Use derive attributes for uninteresting traversals | Alan Egerton | -0/+2 | |
| 2023-01-27 | Restrict amount of ignored locals. | Camille GILLOT | -2/+2 | |
| 2023-01-27 | Remember where a type was kept in MIR. | Camille GILLOT | -1/+10 | |
| 2022-12-18 | A few small cleanups for `newtype_index` | Nilstrieb | -2/+1 | |
| Remove the `..` from the body, only a few invocations used it and it's inconsistent with rust syntax. Use `;` instead of `,` between consts. As the Rust syntax gods inteded. | ||||
| 2022-12-18 | Make `#[debug_format]` an attribute in `newtype_index` | Nilstrieb | -1/+1 | |
| This removes the `custom` format functionality as its only user was trivially migrated to using a normal format. If a new use case for a custom formatting impl pops up, you can add it back. | ||||
| 2022-12-18 | Use `#[derive]` instead of custom syntax in all `newtype_index` | Nilstrieb | -1/+1 | |
| 2022-10-27 | Revert "Make ClosureOutlivesRequirement not rely on an unresolved type" | Michael Goulet | -10/+6 | |
| This reverts commit a6b5f95fb028f9feb4a2957c06b35035be2c6155. | ||||
| 2022-10-19 | Make ClosureOutlivesRequirement not rely on an unresolved type | Michael Goulet | -6/+10 | |
| 2022-09-19 | `DestructuredConst` split mir and ty | lcnr | -8/+1 | |
| 2022-09-16 | Make QueryOutlivesConstraint contain a ConstraintCategory | Jack Huey | -2/+2 | |
| 2022-09-16 | Revert "Better errors for implied static bound" | Jack Huey | -2/+2 | |
| This reverts commit c75817b0a75d4b6b01ee10900ba5d01d4915e6a8. | ||||
| 2022-09-13 | Better errors for implied static bound | Jack Huey | -2/+2 | |
| 2022-08-02 | remove some unused code and types | Ralf Jung | -20/+2 | |
| 2022-07-20 | Remove unused StableMap and StableSet types from rustc_data_structures | Michael Woerister | -1/+1 | |
| 2022-07-19 | Use LocalDefId in OpaqueTypeKey | Michael Goulet | -1/+1 | |
| 2022-07-13 | assigning to a union field can never drop now | Ralf Jung | -6/+0 | |
| 2022-07-05 | Add #[derive(TypeVisitable)] | Alan Egerton | -1/+1 | |
| 2022-06-14 | implement valtrees as the type-system representation for constant values | b-naber | -2/+2 | |
| 2022-05-26 | rebase, use Ty in CallArgument and re-insert static_assert_size on ↵ | b-naber | -2/+8 | |
| ConstraintCategory | ||||
| 2022-05-25 | add def_id and substs to ConstraintCategory::CallArgument | b-naber | -7/+4 | |
| 2022-05-16 | use GlobalId in eval_to_valtree query and introduce query for ↵ | b-naber | -2/+9 | |
| valtree_to_const_val | ||||
| 2022-04-26 | Revert "add `DefId` to unsafety violations and display function path in E0133" | Oli Scherer | -49/+19 | |
| This reverts commit 8b8f6653cfd54525714f02efe7af0a0f830e185c. | ||||
| 2022-04-24 | only show a simple description in E0133 span label | Emil Gardström | -11/+32 | |
| 2022-04-24 | add `DefId` to unsafety violations and display function path in E0133 | Emil Gardström | -19/+28 | |
| this enables consumers to access the function definition that was reported to be unsafe | ||||
