]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/issues/issue-97278.stderr
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[rust.git] / src / test / ui / const-generics / issues / issue-97278.stderr
1 error[E0741]: `Arc<i32>` must be annotated with `#[derive(PartialEq, Eq)]` to be used as the type of a const parameter
2   --> $DIR/issue-97278.rs:11:20
3    |
4 LL | fn test<const BAR: Bar>() {}
5    |                    ^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0741`.