]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/miri_unleashed/assoc_const.stderr
Rollup merge of #84083 - ltratt:threadid_doc_tweak, r=dtolnay
[rust.git] / src / test / ui / consts / miri_unleashed / assoc_const.stderr
1 error[E0080]: erroneous constant used
2   --> $DIR/assoc_const.rs:31:13
3    |
4 LL |     let y = <String as Bar<Vec<u32>, String>>::F;
5    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
6
7 warning: skipping const checks
8    |
9 help: skipping check that does not even have a feature gate
10   --> $DIR/assoc_const.rs:14:20
11    |
12 LL |     const F: u32 = (U::X, 42).1;
13    |                    ^^^^^^^^^^
14
15 error: aborting due to previous error; 1 warning emitted
16
17 For more information about this error, try `rustc --explain E0080`.