We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ignore
1 parent f99694d commit 964b901Copy full SHA for 964b901
src/attributes/limits.md
@@ -42,7 +42,11 @@ to set the limit based on the number of type substitutions.
42
43
> Note: The default in `rustc` is 1048576.
44
45
-```rust,compile_fail
+<!-- 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
50
#![type_length_limit = "8"]
51
52
fn f<T>(x: T) {}
0 commit comments