Updated E0225 to new format.

This commit is contained in:
Federico Ravasio 2016-08-06 15:29:12 +02:00
parent ecdd51b7bb
commit eb469d60b6
2 changed files with 8 additions and 3 deletions

View file

@ -9,5 +9,7 @@
// except according to those terms.
fn main() {
let _: Box<std::io::Read + std::io::Write>; //~ ERROR E0225
let _: Box<std::io::Read + std::io::Write>;
//~^ ERROR only the builtin traits can be used as closure or object bounds [E0225]
//~| NOTE non-builtin trait used as bounds
}