blob: b66f75695f2ab5f324a4508d0f4298c724db89b0 [file] [log] [blame]
// This should fail a normal compile due to non_camel_case_types,
// It should pass a doc-compile as it only needs to type-check and
// therefore should not concern itself with the lints.
#[deny(warnings)]
// @has cap_lints/struct.Foo.html //pre '#[must_use]'
#[must_use]
pub struct Foo {
field: i32,
}