]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lazy_normalization_consts/issue-57739.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / lazy_normalization_consts / issue-57739.stderr
1 warning: the feature `lazy_normalization_consts` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-57739.rs:1:12
3 |
4 LL | #![feature(lazy_normalization_consts)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #72219 <https://github.com/rust-lang/rust/issues/72219> for more information
9
10 error: constant expression depends on a generic parameter
11 --> $DIR/issue-57739.rs:12:12
12 |
13 LL | array: [u8; T::SIZE],
14 | ^^^^^^^^^^^^^
15 |
16 = note: this may fail depending on what value the parameter takes
17
18 error: aborting due to previous error; 1 warning emitted
19