Skip to content

Commit 49b4804

Browse files
committed
Ignore example compile in rustc-attrs doc
1 parent 0e6f109 commit 49b4804

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/unstable-book/src/language-features/rustc-attrs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Note that it only work best with sized type without generics.
1818

1919
## Examples
2020

21-
```rust
21+
```rust,ignore
2222
#![feature(rustc_attrs)]
2323
2424
#[rustc_layout(abi, size)]
@@ -30,7 +30,7 @@ pub enum X {
3030

3131
When that is compiled, the compiler will error with something like
3232

33-
```
33+
```text
3434
error: abi: Aggregate { sized: true }
3535
--> src/lib.rs:4:1
3636
|

0 commit comments

Comments
 (0)