]>
git.proxmox.com Git - rustc.git/blob - tests/ui/did_you_mean/recursion_limit.rs
1 // Test that the recursion limit can be changed and that the compiler
2 // suggests a fix. In this case, we have deeply nested types that will
3 // fail the `Send` check by overflow when the recursion limit is set
7 #![recursion_limit="10"]
10 ($id
:ident
, $t
:ty
) => {
31 fn is_send
<T
:Send
>() { }
34 is_send
::<A
>(); //~ ERROR overflow evaluating the requirement