rust/compiler/rustc_lint/src
bors 04411507be Auto merge of #113422 - Urgau:cast_ref_to_mut-pre-beta, r=Nilstrieb
Rename and allow `cast_ref_to_mut` lint

This PR is a small subset of https://github.com/rust-lang/rust/pull/112431, that is the renaming of the lint (`cast_ref_to_mut` -> `invalid_reference_casting`).

BUT also temporarily change the default level of the lint from deny-by-default to allow-by-default until https://github.com/rust-lang/rust/pull/112431 is merged.

r? `@Nilstrieb`
2023-07-29 07:48:44 +00:00
..
nonstandard_style
array_into_iter.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
builtin.rs Lower generic const items to HIR 2023-07-28 22:21:40 +02:00
context.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
deref_into_dyn_supertrait.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
drop_forget_useless.rs Fix dropping_copy_types lint from linting in match-arm with side-effects 2023-07-01 16:05:55 +02:00
early.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
enum_intrinsics_non_enums.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
errors.rs Use Cow in {D,Subd}iagnosticMessage. 2023-05-29 09:23:43 +10:00
expect.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
fn_null_check.rs Uplift clippy::fn_null_check to rustc 2023-07-10 18:12:41 +02:00
for_loops_over_fallibles.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
hidden_unicode_codepoints.rs migrate: hidden_unicode_codepoints.rs 2023-01-09 17:07:25 -05:00
internal.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
invalid_from_utf8.rs Add invalid_from_utf8 analogous to invalid_from_utf8_unchecked 2023-05-27 00:18:28 +02:00
late.rs Add an ensure_sufficient_stack to LateContextAndPass::visit_expr 2023-06-15 09:57:47 -07:00
let_underscore.rs Fix typos in compiler 2023-04-10 22:02:52 +02:00
levels.rs inline format!() args from rustc_codegen_llvm to the end (4) 2023-07-25 23:20:28 +02:00
lib.rs Rename cast_ref_to_mut lint to invalid_reference_casting 2023-07-13 23:01:24 +02:00
lints.rs Auto merge of #113422 - Urgau:cast_ref_to_mut-pre-beta, r=Nilstrieb 2023-07-29 07:48:44 +00:00
map_unit_fn.rs Fix #109152, fix the scenario that we may can not get span of func 2023-03-15 14:07:39 +08:00
methods.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
multiple_supertrait_upcastable.rs Migrate predicates_of and caller_bounds to Clause 2023-06-26 23:12:03 +00:00
non_ascii_idents.rs Fix typos in compiler 2023-04-10 22:02:52 +02:00
non_fmt_panic.rs Use Option::is_some_and and Result::is_ok_and in the compiler 2023-05-24 14:20:41 +00:00
nonstandard_style.rs allow host param to be lowercase 2023-07-04 11:47:46 +00:00
noop_method_call.rs fix 2023-07-23 09:58:31 +00:00
opaque_hidden_inferred_bound.rs Rename arg_iter to iter_instantiated 2023-07-17 21:04:12 +00:00
pass_by_value.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
passes.rs Take a LocalDefId in hir::Visitor::visit_fn. 2023-01-28 09:51:50 +00:00
redundant_semicolon.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
reference_casting.rs Temporarily switch invalid_reference_casting lint to allow-by-default 2023-07-13 23:01:24 +02:00
tests.rs
traits.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
types.rs Auto merge of #113457 - davidtwco:lint-ctypes-issue-113436, r=oli-obk 2023-07-26 15:27:36 +00:00
unused.rs inline format!() args from rustc_codegen_llvm to the end (4) 2023-07-25 23:20:28 +02:00