1 // compile-flags: --diagnostic-width=40
2 // normalize-stderr-test: "long-type-\d+" -> "long-type-hash"
7 impl<T, E> Future for Result<T, E> {
11 impl<T> Future for Option<T> {
17 fn foo() -> Box<dyn Future<Error=Foo>> {
18 Box::new( //~ ERROR E0271