Fix a test to recognize newly introduced errors.

This commit is contained in:
Masaki Hara 2017-05-16 10:32:04 +09:00
parent 2a20073c94
commit e8137d7cea
No known key found for this signature in database
GPG key ID: 7CA7A85E049A82E8

View file

@ -19,7 +19,10 @@ type Test = Add +
//~| 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() { }