about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-04-14 11:44:26 +1200
committerNick Cameron <ncameron@mozilla.com>2015-04-14 22:17:08 +1200
commitb35a587da144848e6f2ebe16018df3cf1c1b2a0e (patch)
treef3368d3bf3ce26c39373d9de583c6d4c8e9317b0 /src/test/compile-fail
parent4ad4363870246040a69c18dad217b235113ecd1c (diff)
downloadrust-b35a587da144848e6f2ebe16018df3cf1c1b2a0e.tar.gz
rust-b35a587da144848e6f2ebe16018df3cf1c1b2a0e.zip
Reviewer comments
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/issue-21950.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-21950.rs b/src/test/compile-fail/issue-21950.rs
index 315a4cd90c5..900ad5ce812 100644
--- a/src/test/compile-fail/issue-21950.rs
+++ b/src/test/compile-fail/issue-21950.rs
@@ -14,7 +14,7 @@ use std::ops::Add;
 
 fn main() {
     let x = &10 as
-            //~^ ERROR the value of the associated type `Output` (from the trait `core::ops::Add`) must be specified
             &Add;
             //~^ ERROR the type parameter `RHS` must be explicitly specified in an object type because its default value `Self` references the type `Self`
+            //~^^ ERROR the value of the associated type `Output` (from the trait `core::ops::Add`) must be specified
 }