diff options
Diffstat (limited to 'tests/rustdoc/type-layout-flag-required.rs')
-rw-r--r-- | tests/rustdoc/type-layout-flag-required.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc/type-layout-flag-required.rs b/tests/rustdoc/type-layout-flag-required.rs new file mode 100644 index 000000000..6bb5e10f8 --- /dev/null +++ b/tests/rustdoc/type-layout-flag-required.rs @@ -0,0 +1,4 @@ +// Tests that `--show-type-layout` is required in order to show layout info. + +// @!hasraw type_layout_flag_required/struct.Foo.html 'Size: ' +pub struct Foo(usize); |