We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f586d79 + dab89b5 commit 1483156Copy full SHA for 1483156
compiler/rustc_error_codes/src/error_codes/E0493.md
@@ -21,7 +21,7 @@ static FOO: Foo = Foo { field1: (DropType::A, DropType::A).1 }; // error!
21
The problem here is that if the given type or one of its fields implements the
22
`Drop` trait, this `Drop` implementation cannot be called within a const
23
context since it may run arbitrary, non-const-checked code. To prevent this
24
-issue, ensure all values with custom a custom `Drop` implementation escape the
+issue, ensure all values with a custom `Drop` implementation escape the
25
initializer.
26
27
```
0 commit comments