| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-08-27 | Add test batch 1 | Oneirical | -0/+22 | |
| 2025-08-19 | bless tests with new lint messages | Karol Zwolak | -2/+2 | |
| 2025-07-25 | comments | Kivooeo | -0/+27 | |
| 2025-07-25 | move 28 tests | Kivooeo | -0/+27 | |
| 2025-07-16 | future-incompat lints: don't link to the nightly edition-guide version | dianne | -17/+17 | |
| 2025-07-10 | cleaned up some tests | Kivooeo | -2/+5 | |
| 2025-07-01 | moved tests | Kivooeo | -0/+18 | |
| 2025-06-10 | Loop check anon consts on their own | Oli Scherer | -6/+6 | |
| 2025-05-23 | Emit dummy open drop for unsafe binder | Michael Goulet | -0/+29 | |
| 2025-04-30 | compiletest: Make diagnostic kind mandatory on line annotations | Vadim Petrochenkov | -4/+6 | |
| 2025-04-08 | UI tests: add missing diagnostic kinds where possible | Vadim Petrochenkov | -1/+1 | |
| 2025-03-21 | remove `feature(inline_const_pat)` | lcnr | -23/+0 | |
| 2024-12-15 | Use links to edition guide for edition migrations | Eric Huss | -33/+33 | |
| 2024-11-26 | tests: remove `//@ pretty-expanded` usages | 许杰友 Jieyou Xu (Joe) | -3/+0 | |
| Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ``` | ||||
| 2024-11-22 | Stabilize the 2024 edition | Eric Huss | -6/+4 | |
| 2024-11-16 | Reword suggestion message | Esteban Küber | -1/+1 | |
| 2024-10-06 | A raw ref of a deref is always safe | Michael Goulet | -0/+14 | |
| 2024-09-18 | Check params for unsafety in THIR | Michael Goulet | -0/+38 | |
| 2024-09-15 | also stabilize const_refs_to_cell | Ralf Jung | -25/+4 | |
| 2024-09-15 | stabilize const_mut_refs | Ralf Jung | -36/+5 | |
| 2024-08-06 | Don't Suggest Labeling `const` and `unsafe` Blocks | Veera | -10/+29 | |
| 2024-08-06 | Add Tests | Veera | -0/+57 | |
| 2024-07-04 | Tweak raw-pointer field access and array indexing suggestions | Esteban Küber | -4/+6 | |
| 2024-05-29 | Use parenthetical notation for `Fn` traits | Esteban Küber | -1/+1 | |
| Always use the `Fn(T) -> R` format when printing closure traits instead of `Fn<(T,), Output = R>`. Fix #67100: ``` error[E0277]: expected a `Fn()` closure, found `F` --> file.rs:6:13 | 6 | call_fn(f) | ------- ^ expected an `Fn()` closure, found `F` | | | required by a bound introduced by this call | = note: wrap the `F` in a closure with no arguments: `|| { /* code */ }` note: required by a bound in `call_fn` --> file.rs:1:15 | 1 | fn call_fn<F: Fn() -> ()>(f: &F) { | ^^^^^^^^^^ required by this bound in `call_fn` help: consider further restricting this bound | 5 | fn call_any<F: std::any::Any + Fn()>(f: &F) { | ++++++ ``` | ||||
| 2024-05-22 | Cleanup: Fix up some diagnostics | León Orell Valerian Liehr | -17/+21 | |
| 2024-05-17 | Rename Unsafe to Safety | Santiago Pastorino | -3/+3 | |
| 2024-02-16 | [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives | 许杰友 Jieyou Xu (Joe) | -29/+29 | |
| 2024-02-01 | `#![feature(inline_const_pat)]` is no longer incomplete | Matthew Jasper | -1/+0 | |
| 2024-01-22 | Auto merge of #120242 - matthiaskrgr:rollup-a93yj3i, r=matthiaskrgr | bors | -0/+1 | |
| Rollup of 10 pull requests Successful merges: - #117910 (Refactor uses of `objc_msgSend` to no longer have clashing definitions) - #118639 (Undeprecate lint `unstable_features` and make use of it in the compiler) - #119801 (Fix deallocation with wrong allocator in (A)Rc::from_box_in) - #120058 (bootstrap: improvements for compiler builds) - #120059 (Make generic const type mismatches not hide trait impls from the trait solver) - #120097 (Report unreachable subpatterns consistently) - #120137 (Validate AggregateKind types in MIR) - #120164 (`maybe_lint_impl_trait`: separate `is_downgradable` from `is_object_safe`) - #120181 (Allow any `const` expression blocks in `thread_local!`) - #120218 (rustfmt: Check that a token can begin a nonterminal kind before parsing it as a macro arg) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2024-01-18 | Consistently warn unreachable subpatterns | Nadrieril | -0/+1 | |
| 2024-01-15 | make unsafe_op_in_unsafe_fn MachineApplicable and add it to 2024 compatibility | asquared31415 | -50/+153 | |
| 2024-01-13 | Bless tests | George-lewis | -0/+5 | |
| Update tests | ||||
| 2024-01-05 | Handle context for const patterns correctly | Matthew Jasper | -0/+24 | |
| 2024-01-05 | Stabilize THIR unsafeck | Matthew Jasper | -92/+98 | |
| 2024-01-05 | Remove revisions for THIR unsafeck | Matthew Jasper | -1093/+115 | |
| This is to make the diff when stabilizing it easier to review. | ||||
| 2023-12-07 | recurse into refs when comparing tys for diagnostics | jyn | -4/+4 | |
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -35/+35 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-11-16 | recover primary span label | Esteban Küber | -1/+2 | |
| 2023-11-06 | Visit patterns in THIR let expressions | Matthew Jasper | -2/+19 | |
| This fixes some THIR unsafety checking errors not being emitted for let expressions in these situations. | ||||
| 2023-11-06 | Add suggestion to THIR unsafe_op_in_unsafe_fn lint | Matthew Jasper | -30/+246 | |
| 2023-11-02 | Pretty print Fn traits in rustc_on_unimplemented | Michael Goulet | -1/+1 | |
| 2023-10-25 | Make THIR unused_unsafe lint consistent with MIR | Matthew Jasper | -7/+5 | |
| Updates THIR behavior to match the changes from #93678 | ||||
| 2023-09-14 | Auto merge of #112038 - Nemo157:edition-2024-unsafe_op_in_unsafe_fn, r=RalfJung | bors | -0/+33 | |
| Change `unsafe_op_in_unsafe_fn` to be `warn`-by-default from edition 2024 This was previously FCPed: https://github.com/rust-lang/rust/issues/71668#issuecomment-1189396886 There were two blocking requirements: * Fix the `unused_unsafe` lint, done in https://github.com/rust-lang/rust/pull/100081 * Have `cargo fix` able to fix the lint, done in https://github.com/rust-lang/rust/pull/112017 | ||||
| 2023-09-06 | add a regression test | mojave2 | -0/+37 | |
| 2023-09-06 | Change unsafe_op_in_unsafe_fn to be warn-by-default from edition 2024 | Wim Looman | -0/+33 | |
| 2023-08-30 | Test and note unsafe ctor to fn ptr coercion | Michael Goulet | -0/+25 | |
| Also remove a note that I don't consider to be very useful in context. | ||||
| 2023-08-30 | rustc_layout_scalar_valid_range makes ctors unsafe | Michael Goulet | -0/+27 | |
| 2023-07-15 | Implement "items do not inherit unsafety" for THIR unsafeck | syvb | -2/+28 | |
| 2023-06-13 | Add test cases for suggestions with unsafe operations contained inside macros | Wim Looman | -11/+100 | |
| 2023-06-13 | Add note about unsafe functions body not being unsafe | Wim Looman | -8/+63 | |
