about summary refs log tree commit diff
path: root/tests/ui/codegen/overflow-during-mono.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-07-12 21:15:25 -0400
committerMichael Goulet <michael@errs.io>2024-07-12 21:16:09 -0400
commit938ed369ada248e00d5ed906e5ba589c7cac9d2e (patch)
treee704ff64ddc8128d2c125611f58a8980c09f0131 /tests/ui/codegen/overflow-during-mono.rs
parent62c068feeafd1f4abbf87243d69cf8862e4dd277 (diff)
downloadrust-938ed369ada248e00d5ed906e5ba589c7cac9d2e.tar.gz
rust-938ed369ada248e00d5ed906e5ba589c7cac9d2e.zip
Gate the type length limit check behind a nightly flag
Diffstat (limited to 'tests/ui/codegen/overflow-during-mono.rs')
-rw-r--r--tests/ui/codegen/overflow-during-mono.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/codegen/overflow-during-mono.rs b/tests/ui/codegen/overflow-during-mono.rs
index 4d3f2c18dc8..83a8b6b3ef6 100644
--- a/tests/ui/codegen/overflow-during-mono.rs
+++ b/tests/ui/codegen/overflow-during-mono.rs
@@ -1,5 +1,5 @@
+//~ ERROR overflow evaluating the requirement `{closure@$DIR/overflow-during-mono.rs:13:41: 13:44}: Sized`
 //@ build-fail
-//@ error-pattern: reached the type-length limit while instantiating
 
 #![recursion_limit = "32"]