mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
rename expose_addr
to expose_provenance
This commit is contained in:
parent
e530b3d19c
commit
53e31dc45c
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ fn check_rvalue<'tcx>(
|
|||
Err((span, "unsizing casts are not allowed in const fn".into()))
|
||||
}
|
||||
},
|
||||
Rvalue::Cast(CastKind::PointerExposeAddress, _, _) => {
|
||||
Rvalue::Cast(CastKind::PointerExposeProvenance, _, _) => {
|
||||
Err((span, "casting pointers to ints is unstable in const fn".into()))
|
||||
},
|
||||
Rvalue::Cast(CastKind::DynStar, _, _) => {
|
||||
|
|
Loading…
Reference in a new issue