mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 10:17:15 +00:00
Extend the renaming to coerce_unsafe_ptr
This commit is contained in:
parent
6cce01b10b
commit
50fb303dae
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ impl InferenceTable<'_> {
|
|||
// Check that the types which they point at are compatible.
|
||||
let from_raw = TyKind::Raw(to_mt, from_inner.clone()).intern(Interner);
|
||||
|
||||
// Although references and unsafe ptrs have the same
|
||||
// Although references and raw ptrs have the same
|
||||
// representation, we still register an Adjust::DerefRef so that
|
||||
// regionck knows that the region for `a` must be valid here.
|
||||
if is_ref {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue