about summary refs log tree commit diff
path: root/tests/ui/const-generics/issues/issue-63322-forbid-dyn.full.stderr
blob: 1301ca92f015c0331ec29a7d3ec0843bf6118a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0741]: `&'static (dyn A + 'static)` can't be used as a const parameter type
  --> $DIR/issue-63322-forbid-dyn.rs:9:18
   |
LL | fn test<const T: &'static dyn A>() {
   |                  ^^^^^^^^^^^^^^
   |
   = note: `(dyn A + 'static)` must implement `ConstParamTy_`, but it does not

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0741`.