summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_codegen_cranelift/example/issue-72793.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/issue-72793.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/example/issue-72793.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/issue-72793.rs b/compiler/rustc_codegen_cranelift/example/issue-72793.rs
index b1bb9b8e1..166b00600 100644
--- a/compiler/rustc_codegen_cranelift/example/issue-72793.rs
+++ b/compiler/rustc_codegen_cranelift/example/issue-72793.rs
@@ -2,7 +2,9 @@
#![feature(type_alias_impl_trait)]
-trait T { type Item; }
+trait T {
+ type Item;
+}
type Alias<'a> = impl T<Item = &'a ()>;