1 error[E0658]: a non-static lifetime is not allowed in a `const`
2 --> $DIR/issue-74713.rs:4:17
7 = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
8 = help: add `#![feature(generic_const_exprs)]` to the crate attributes to enable
10 error[E0308]: mismatched types
11 --> $DIR/issue-74713.rs:3:10
17 | |_____^ expected `usize`, found `()`
19 error: aborting due to 2 previous errors
21 Some errors have detailed explanations: E0308, E0658.
22 For more information about an error, try `rustc --explain E0308`.