David Tolnay
823bacb6e3
Revert "Suggest using Arc
on !Send
/!Sync
types"
...
This reverts commit 9de1a472b6
.
2023-08-28 03:16:48 -07:00
Esteban Kuber
9de1a472b6
Suggest using Arc
on !Send
/!Sync
types
2023-08-09 14:04:10 +00:00
Deadbeef
4f83717cf7
Use translatable diagnostics in rustc_const_eval
2023-06-01 14:45:18 +00:00
Urgau
1c7ab18c08
Rename drop_copy
lint to dropping_copy_types
2023-05-21 13:37:32 +02:00
Urgau
61ff2718f7
Adjust tests for new drop and forget lints
2023-05-10 19:36:02 +02:00
Scott McMurray
64cce5fc7d
Add CastKind::Transmute
to MIR
...
Updates `interpret`, `codegen_ssa`, and `codegen_cranelift` to consume the new cast instead of the intrinsic.
Includes `CastTransmute` for custom MIR building, to be able to test the extra UB.
2023-03-22 15:15:41 -07:00
y21
0610df9314
lint: don't suggest assume_init for uninhabited types
2023-02-18 19:05:44 +01:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00