about summary refs log tree commit diff
path: root/tests/ui/traits/error-trait-object-from-string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/error-trait-object-from-string.rs')
-rw-r--r--tests/ui/traits/error-trait-object-from-string.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/traits/error-trait-object-from-string.rs b/tests/ui/traits/error-trait-object-from-string.rs
index 9a7cd81ee04..896f164a04d 100644
--- a/tests/ui/traits/error-trait-object-from-string.rs
+++ b/tests/ui/traits/error-trait-object-from-string.rs
@@ -1,6 +1,7 @@
+//! Check that `String` and `&str` can be converted into `Box<dyn Error>` and
+//! `Box<dyn Error + Send + Sync>` trait objects
+
 //@ run-pass
-// Ensure that both `Box<dyn Error + Send + Sync>` and `Box<dyn Error>` can be
-// obtained from `String`.
 
 use std::error::Error;