about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWithout Boats <woboats@gmail.com>2017-04-24 01:40:17 -0700
committerWithout Boats <woboats@gmail.com>2017-04-24 01:40:17 -0700
commit95ffda1e9ee72f2170d55e4790bef21fb4ac11b1 (patch)
treebd8a1157fdcd32f6e5a25558ce953e5fb24c28c6
parented5d09d8f3e65d679aa24c6a50874920be5979f5 (diff)
downloadrust-95ffda1e9ee72f2170d55e4790bef21fb4ac11b1.tar.gz
rust-95ffda1e9ee72f2170d55e4790bef21fb4ac11b1.zip
Style.
-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
 }