The argument is described in https://doc.rust-lang.org/rustdoc/documentation-tests.html#attributes This snipped is not recognized as rust code. ``` //! ```rust,compile_fail //! use tabled::Tabled; //! //! #[derive(Tabled)] //! struct SomeType { //! field1: SomeOtherType, //! } //! //! struct SomeOtherType; //! ``` ``` The correct behavior should be the same as `no_run`, `ignore`, `should_panic` options has ```rust use tabled::Tabled; #[derive(Tabled)] struct SomeType { field1: SomeOtherType, } struct SomeOtherType; ```