index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_lint
/
src
/
reference_casting.rs
Age
Commit message (
Expand
)
Author
Lines
2025-07-03
setup CI and tidy to use typos for spellchecking and fix few typos
klensy
-1
/
+1
2025-03-30
Expose `peel_casts` method as an util method inside `rustc_lint`
Urgau
-43
/
+1
2024-11-19
move `fn is_item_raw` to `TypingEnv`
lcnr
-1
/
+1
2024-08-21
Use bool in favor of Option<()> for diagnostics
Michael Goulet
-2
/
+0
2024-07-29
Reformat `use` declarations.
Nicholas Nethercote
-3
/
+4
2024-05-10
Handle Deref expressions in invalid_reference_casting
Ben Kimock
-2
/
+4
2024-05-08
Handle field projections like slice indexing in invalid_reference_casting
Ben Kimock
-1
/
+2
2024-05-05
Fix insufficient logic when searching for the underlying allocation
Urgau
-0
/
+7
2024-04-29
Remove `extern crate rustc_session` from `rustc_lint`.
Nicholas Nethercote
-0
/
+1
2024-03-22
Make RawPtr take Ty and Mutbl separately
Michael Goulet
-2
/
+2
2024-03-22
Programmatically convert some of the pat ctors
Michael Goulet
-1
/
+1
2024-02-14
Ignore unsized types when trying to determine the size of a type
Urgau
-0
/
+7
2024-02-12
Introduce small cache to avoid recomputing the same value twice
Urgau
-4
/
+13
2024-02-12
Lint on reference casting to bigger underlying allocation
Urgau
-7
/
+66
2024-01-23
Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.
Nicholas Nethercote
-1
/
+1
2023-12-14
Recurse into let bindings if possible in ref casting lint
Urgau
-1
/
+6
2023-12-14
Refactor and rename some functions in ref casting lint
Urgau
-40
/
+54
2023-12-14
Extract casting detection logic in it's own function
Urgau
-19
/
+24
2023-11-14
Fix some typos
cui fliter
-1
/
+1
2023-10-13
Format all the let chains in compiler
Michael Goulet
-1
/
+4
2023-10-04
Clarify `invalid_reference_casting` lint around interior mutable types
Urgau
-11
/
+15
2023-09-27
Simplify casting logic of the invalid_reference_casting lint
Urgau
-80
/
+32
2023-09-27
Prefer expr_or_init over manual init detection
Urgau
-28
/
+7
2023-08-24
Lint on invalid UnsafeCell::raw_get with invalid_reference_casting lint
Urgau
-5
/
+39
2023-08-22
Add support for ptr::write for the invalid_reference_casting lint
Urgau
-17
/
+47
2023-08-15
Improve `invalid_reference_casting` lint
Urgau
-18
/
+31
2023-08-12
Also consider `transmute` with the `invalid_reference_casting` lint
Urgau
-24
/
+48
2023-07-29
Improve diagnostics of the invalid_reference_casting lint
Urgau
-4
/
+16
2023-07-29
Avoid linting on expression that are only UB with SB/TB
Urgau
-2
/
+15
2023-07-29
Add support for deferred casting for the invalid_reference_casting lint
Urgau
-29
/
+62
2023-07-29
Revert "Temporarily switch invalid_reference_casting lint to allow-by-default"
Urgau
-2
/
+1
2023-07-13
Temporarily switch invalid_reference_casting lint to allow-by-default
Urgau
-1
/
+2
2023-07-13
Rename cast_ref_to_mut lint to invalid_reference_casting
Urgau
-0
/
+74