about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-08-23 21:13:55 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-08-30 18:13:09 +0200
commit242805442bb217b0cb8a2b363c3eb301311b33f6 (patch)
tree033600b6fb7ac5bef1d68e84cf11a398ede7d60d
parentb56acac41d2abbc9afc91fec370b574be49d5c6e (diff)
downloadrust-242805442bb217b0cb8a2b363c3eb301311b33f6.tar.gz
rust-242805442bb217b0cb8a2b363c3eb301311b33f6.zip
Update failure status
-rw-r--r--tests/ui/const-generics/late-bound-vars/in_closure.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/ui/const-generics/late-bound-vars/in_closure.rs b/tests/ui/const-generics/late-bound-vars/in_closure.rs
index 4fdf603b05f..6549cad629b 100644
--- a/tests/ui/const-generics/late-bound-vars/in_closure.rs
+++ b/tests/ui/const-generics/late-bound-vars/in_closure.rs
@@ -1,4 +1,4 @@
-// failure-status: 101
+// failure-status: 1
 // known-bug: unknown
 // error-pattern:internal compiler error
 // normalize-stderr-test "internal compiler error.*" -> ""
@@ -22,7 +22,10 @@
 #![feature(generic_const_exprs)]
 #![allow(incomplete_features)]
 
-const fn inner<'a>() -> usize where &'a (): Sized {
+const fn inner<'a>() -> usize
+where
+    &'a (): Sized,
+{
     3
 }