Skip to content

Commit 964b901

Browse files
committed
Add ignore to type_length_limit test.
1 parent f99694d commit 964b901

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/attributes/limits.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ to set the limit based on the number of type substitutions.
4242

4343
> Note: The default in `rustc` is 1048576.
4444
45-
```rust,compile_fail
45+
<!-- This code should fail to compile. Unfortunately rustdoc's `compile_fail`
46+
stops after analysis phase, and this error is generated after that. So
47+
this needs to be `ignore` for now. -->
48+
49+
```rust,compile_fail,ignore
4650
#![type_length_limit = "8"]
4751
4852
fn f<T>(x: T) {}

0 commit comments

Comments
 (0)