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 a023fdc commit d59d6c0Copy full SHA for d59d6c0
src/librustc_lint/builtin.rs
@@ -2182,11 +2182,12 @@ impl LintPass for DropWithReprExtern {
2182
codemap::DUMMY_SP);
2183
ctx.span_lint(DROP_WITH_REPR_EXTERN,
2184
drop_impl_span,
2185
- "Structs with `#[repr(C)]` attribute that \
2186
- implement Drop have extra hidden state");
+ "implementing Drop adds hidden state to \
+ types, possibly conflicting with \
2187
+ the `#[repr(C)]` attribute");
2188
2189
self_defn_span,
- "The `#[repr(C)]` attribute is attached here");
2190
+ "the `#[repr(C)]` attribute is attached here");
2191
}
2192
2193
_ => {}
0 commit comments