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.
with custom a custom
with a custom
1 parent fb3ea63 commit dab89b5Copy full SHA for dab89b5
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