1 error[E0412]: cannot find type `X` in this scope
2 --> $DIR/type_not_in_scope.rs:1:6
5 | ^ not found in this scope
7 error[E0573]: expected type, found built-in attribute `cfg_attr`
8 --> $DIR/type_not_in_scope.rs:7:18
10 LL | fn getn<const N: cfg_attr>() -> [u8; N] {}
13 error[E0308]: mismatched types
14 --> $DIR/type_not_in_scope.rs:7:33
16 LL | fn getn<const N: cfg_attr>() -> [u8; N] {}
17 | ---- ^^^^^^^ expected array `[u8; N]`, found `()`
19 | implicitly returns `()` as its body has no tail or `return` expression
21 error: aborting due to 3 previous errors
23 Some errors have detailed explanations: E0308, E0412, E0573.
24 For more information about an error, try `rustc --explain E0308`.