blob: 30f9be0424c6a235a15c2d1fd104c27f75736d5e [file] [log] [blame] [edit]
// 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 //* 'Foo'
pub struct Foo {
field: i32,
}