diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2022-08-22 11:41:38 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2022-08-22 11:44:04 +0000 |
| commit | f1db3be9cf9a7efff0db8195e245dcfea16cb233 (patch) | |
| tree | df9746314c2a13671f19a7b7d805bf3949bd6989 /src | |
| parent | f019b6c5e8f2bb7e5985ea595b0946479c5aa4c2 (diff) | |
| download | rust-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.rs | 4 |
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 = (); |
