about summary refs log tree commit diff
path: root/tests/ui/traits/issue-38404.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/issue-38404.rs')
-rw-r--r--tests/ui/traits/issue-38404.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/traits/issue-38404.rs b/tests/ui/traits/issue-38404.rs
index 05921b2c36e..9b60116f733 100644
--- a/tests/ui/traits/issue-38404.rs
+++ b/tests/ui/traits/issue-38404.rs
@@ -1,7 +1,8 @@
 trait A<T>: std::ops::Add<Self> + Sized {}
 trait B<T>: A<T> {}
-trait C<T>: A<dyn B<T, Output=usize>> {}
+trait C<T>: A<dyn B<T, Output = usize>> {}
 //~^ ERROR the trait `B` cannot be made into an object
 //~| ERROR the trait `B` cannot be made into an object
+//~| ERROR the trait `B` cannot be made into an object
 
 fn main() {}