]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-56445-1.full.stderr
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / ui / const-generics / issues / issue-56445-1.full.stderr
1 error[E0771]: use of non-static lifetime `'a` in const generic
2   --> $DIR/issue-56445-1.rs:9:26
3    |
4 LL | struct Bug<'a, const S: &'a str>(PhantomData<&'a ()>);
5    |                          ^^
6    |
7    = note: for more information, see issue #74052 <https://github.com/rust-lang/rust/issues/74052>
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0771`.