about summary refs log tree commit diff
path: root/tests/ui/mir/gvn-nonsensical-coroutine-layout.stderr
blob: abc7b16ca74153d41e64e3df829b46a5a3142bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error[E0412]: cannot find type `T` in this scope
  --> $DIR/gvn-nonsensical-coroutine-layout.rs:6:14
   |
LL |     TestSome(T),
   |              ^ not found in this scope
   |
help: you might be missing a type parameter
   |
LL | pub enum Request<T> {
   |                 +++

error[E0574]: expected struct, variant or union type, found enum `Request`
  --> $DIR/gvn-nonsensical-coroutine-layout.rs:12:36
   |
LL |         static instance: Request = Request { bar: 17 };
   |                                    ^^^^^^^ not a struct, variant or union type
   |
help: consider importing this struct instead
   |
LL + use std::error::Request;
   |

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0412, E0574.
For more information about an error, try `rustc --explain E0412`.