| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-11-05 | Remove unused errs.rs file | Eric Huss | -88/+0 | |
| This module was removed in #124895, but the actual file was not removed. | ||||
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -5/+4 | |
| 2024-08-27 | Add `warn(unreachable_pub)` to `rustc_hir_analysis`. | Nicholas Nethercote | -2/+2 | |
| 2024-07-18 | Use more accurate span for `addr_of!` suggestion | Esteban Küber | -13/+22 | |
| Use a multipart suggestion instead of a single whole-span replacement: ``` error[E0796]: creating a shared reference to a mutable static --> $DIR/reference-to-mut-static-unsafe-fn.rs:10:18 | LL | let _y = &X; | ^^ shared reference to mutable static | = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | LL | let _y = addr_of!(X); | ~~~~~~~~~ + ``` | ||||
| 2024-06-18 | Prefer `dcx` methods over fields or fields' methods | Oli Scherer | -1/+1 | |
| 2024-06-04 | Add safe/unsafe to static inside extern blocks | Santiago Pastorino | -1/+2 | |
| 2024-04-15 | Fix pretty hir for anon consts in diagnostics | Michael Goulet | -4/+4 | |
| 2024-03-27 | Implement `mut ref`/`mut ref mut` | Jules Bertholet | -25/+17 | |
| 2024-03-14 | Rename `hir::StmtKind::Local` into `hir::StmtKind::Let` | Guillaume Gomez | -1/+1 | |
| 2024-03-12 | s/mt/mutability/ | Oli Scherer | -2/+1 | |
| 2024-03-12 | Add `nested` bool to `DefKind::Static`. | Oli Scherer | -1/+1 | |
| Will be used in the next commit | ||||
| 2024-03-12 | Change `DefKind::Static` to a struct variant | Oli Scherer | -1/+1 | |
| 2024-03-05 | Rename all `ParseSess` variables/fields/lifetimes as `psess`. | Nicholas Nethercote | -1/+1 | |
| Existing names for values of this type are `sess`, `parse_sess`, `parse_session`, and `ps`. `sess` is particularly annoying because that's also used for `Session` values, which are often co-located, and it can be difficult to know which type a value named `sess` refers to. (That annoyance is the main motivation for this change.) `psess` is nice and short, which is good for a name used this much. The commit also renames some `parse_sess_created` values as `psess_created`. | ||||
| 2024-02-27 | Split rustc_type_ir to avoid rustc_ast from depending on it | Oli Scherer | -2/+1 | |
| 2024-02-18 | Improve wording of static_mut_ref | Obei Sideg | -18/+10 | |
| Rename `static_mut_ref` lint to `static_mut_refs`. | ||||
| 2024-01-23 | Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`. | Nicholas Nethercote | -1/+1 | |
| 2024-01-06 | Disallow reference to `static mut` for statements | Obei Sideg | -0/+19 | |
| 2024-01-06 | Disallow reference to `static mut` for expressions | Obei Sideg | -0/+78 | |
| Add `E0796` error code. Add `static_mut_ref` lint. This is the idea for the 2024 edition. | ||||
