about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2022-08-22 11:41:38 +0000
committerDeadbeef <ent3rm4n@gmail.com>2022-08-22 11:44:04 +0000
commitf1db3be9cf9a7efff0db8195e245dcfea16cb233 (patch)
treedf9746314c2a13671f19a7b7d805bf3949bd6989 /src
parentf019b6c5e8f2bb7e5985ea595b0946479c5aa4c2 (diff)
downloadrust-f1db3be9cf9a7efff0db8195e245dcfea16cb233.tar.gz
rust-f1db3be9cf9a7efff0db8195e245dcfea16cb233.zip
fix tidy
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/rfc-2632-const-trait-impl/issue-100222.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/ui/rfc-2632-const-trait-impl/issue-100222.rs b/src/test/ui/rfc-2632-const-trait-impl/issue-100222.rs
index 2db5595a5ae..1004bb28c59 100644
--- a/src/test/ui/rfc-2632-const-trait-impl/issue-100222.rs
+++ b/src/test/ui/rfc-2632-const-trait-impl/issue-100222.rs
@@ -19,7 +19,9 @@ impl Index for () { type Output = (); }
 impl const IndexMut for <() as Index>::Output {
     const C: <Self as Index>::Output = ();
     type Assoc = <Self as Index>::Output;
-    fn foo(&mut self, x: <Self as Index>::Output) -> <Self as Index>::Output where <Self as Index>::Output: {}
+    fn foo(&mut self, x: <Self as Index>::Output) -> <Self as Index>::Output
+        where <Self as Index>::Output:,
+    {}
 }
 
 const C: <() as Index>::Output = ();