Ignore example compile in rustc-attrs doc
This commit is contained in:
parent
0e6f1093be
commit
49b4804d29
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ Note that it only work best with sized type without generics.
|
|||
|
||||
## Examples
|
||||
|
||||
```rust
|
||||
```rust,ignore
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
#[rustc_layout(abi, size)]
|
||||
|
|
@ -30,7 +30,7 @@ pub enum X {
|
|||
|
||||
When that is compiled, the compiler will error with something like
|
||||
|
||||
```
|
||||
```text
|
||||
error: abi: Aggregate { sized: true }
|
||||
--> src/lib.rs:4:1
|
||||
|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue