We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a2879f commit 9d18968Copy full SHA for 9d18968
src/librustc_mir/interpret/memory.rs
@@ -738,7 +738,7 @@ where
738
// Not yet interned, so proceed recursively
739
self.intern_static(alloc, mutability)?;
740
} else if self.dead_alloc_map.contains_key(&alloc) {
741
- // danging pointer
+ // dangling pointer
742
return err!(ValidationFailure(
743
"encountered dangling pointer in final constant".into(),
744
))
0 commit comments