diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/consts/issue-39974.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/consts/issue-39974.rs b/tests/ui/consts/issue-39974.rs index 503647ef4..9cb180014 100644 --- a/tests/ui/consts/issue-39974.rs +++ b/tests/ui/consts/issue-39974.rs @@ -1,4 +1,5 @@ const LENGTH: f64 = 2; +//~^ ERROR mismatched types struct Thing { f: [[f64; 2]; LENGTH], |