We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d960a5 commit c2463afCopy full SHA for c2463af
src/librustc_mir/interpret/memory.rs
@@ -733,7 +733,7 @@ where
733
// Not yet interned, so proceed recursively
734
self.intern_static(alloc, mutability)?;
735
} else if self.dead_alloc_map.contains_key(&alloc) {
736
- // danging pointer
+ // dangling pointer
737
return err!(ValidationFailure(
738
"encountered dangling pointer in final constant".into(),
739
))
0 commit comments