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.
2 parents e823af6 + 759de11 commit 2c6c764Copy full SHA for 2c6c764
src/librustc_error_codes/error_codes/E0740.md
@@ -1,4 +1,4 @@
1
-A `union` cannot have fields with destructors.
+A `union` was declared with fields with destructors.
2
3
Erroneous code example:
4
@@ -14,3 +14,5 @@ impl Drop for A {
14
fn drop(&mut self) { println!("A"); }
15
}
16
```
17
+
18
+A `union` cannot have fields with destructors.
0 commit comments