about summary refs log tree commit diff
path: root/src/test/compile-fail/no_freeze-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/no_freeze-struct.rs')
-rw-r--r--src/test/compile-fail/no_freeze-struct.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/no_freeze-struct.rs b/src/test/compile-fail/no_freeze-struct.rs
index 9ac7966e704..c85574438ba 100644
--- a/src/test/compile-fail/no_freeze-struct.rs
+++ b/src/test/compile-fail/no_freeze-struct.rs
@@ -16,5 +16,7 @@ fn bar<T: Freeze>(_: T) {}
 
 fn main() {
     let x = Foo { a: 5, m: marker::NoFreeze };
-    bar(x); //~ ERROR instantiating a type parameter with an incompatible type `Foo`, which does not fulfill `Freeze`
+    bar(x);
+    //~^ ERROR instantiating a type parameter with an incompatible type `Foo`,
+    //         which does not fulfill `Freeze`
 }