1 error[E0741]: `&'static (dyn A + 'static)` must be annotated with `#[derive(PartialEq, Eq)]` to be used as the type of a const parameter
2 --> $DIR/issue-63322-forbid-dyn.rs:9:18
4 LL | fn test<const T: &'static dyn A>() {
5 | ^^^^^^^^^^^^^^ `&'static (dyn A + 'static)` doesn't derive both `PartialEq` and `Eq`
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0741`.