about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/compile-fail/object-safety-associated-consts.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/object-safety-associated-consts.rs b/src/test/compile-fail/object-safety-associated-consts.rs
index e38187fe86a..499f41846f5 100644
--- a/src/test/compile-fail/object-safety-associated-consts.rs
+++ b/src/test/compile-fail/object-safety-associated-consts.rs
@@ -16,9 +16,9 @@ trait Bar {
 }
 
 fn make_bar<T:Bar>(t: &T) -> &Bar {
-        //~^ ERROR E0038
-        //~| NOTE the trait cannot contain associated consts like `X`
-        //~| NOTE the trait `Bar` cannot be made into an object
+    //~^ ERROR E0038
+    //~| NOTE the trait cannot contain associated consts like `X`
+    //~| NOTE the trait `Bar` cannot be made into an object
     t
 }