]> git.lizzy.rs Git - rust.git/commitdiff
Fix a test to recognize newly introduced errors.
authorMasaki Hara <ackie.h.gmai@gmail.com>
Tue, 16 May 2017 01:32:04 +0000 (10:32 +0900)
committerMasaki Hara <ackie.h.gmai@gmail.com>
Tue, 16 May 2017 01:32:04 +0000 (10:32 +0900)
src/test/compile-fail/issue-22560.rs

index 2ad804fc8ced7e3c92964c1825f0553697c9521f..eb5c6076440e9c0eee559bf3dec87f1e558ad77d 100644 (file)
             //~| ERROR E0191
             //~| NOTE missing associated type `Output` value
             Sub;
-            //~^ ERROR E0225
+            //~^ ERROR E0393
+            //~| NOTE missing reference to `RHS`
+            //~| NOTE because of the default `Self` reference, type parameters must be specified on object types
+            //~| ERROR E0225
             //~| NOTE non-Send/Sync additional trait
 
 fn main() { }