]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0225.stderr
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[rust.git] / src / test / ui / error-codes / E0225.stderr
1 error[E0225]: only auto traits can be used as additional traits in a trait object
2   --> $DIR/E0225.rs:2:32
3    |
4 LL |     let _: Box<std::io::Read + std::io::Write>;
5    |                                ^^^^^^^^^^^^^^ non-auto additional trait
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0225`.