about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorPeter C. Norton <spacey@spacey.org>2016-08-06 19:23:40 -0400
committerPeter C. Norton <spacey@spacey.org>2016-08-07 10:27:42 -0400
commitdfb66c3e2bc93a480d69e4e768c3366440b6ccc5 (patch)
treead8afc833232c5f690d02d87f0f7225e34ac623b /src/test
parent4c02363852e6ce41cf2da1b43a32cb7780a9b067 (diff)
downloadrust-dfb66c3e2bc93a480d69e4e768c3366440b6ccc5.tar.gz
rust-dfb66c3e2bc93a480d69e4e768c3366440b6ccc5.zip
Update E0010 to use the new format
For https://github.com/rust-lang/rust/issues/35194
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/E0010.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/E0010.rs b/src/test/compile-fail/E0010.rs
index 9ae9e795466..8a666168c86 100644
--- a/src/test/compile-fail/E0010.rs
+++ b/src/test/compile-fail/E0010.rs
@@ -11,5 +11,6 @@
 #![feature(box_syntax)]
 
 const CON : Box<i32> = box 0; //~ ERROR E0010
+                              //~| NOTE allocation not allowed in
 
 fn main() {}