summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/nested-type.full.stderr
blob: 6d9f4406504ee7b2e98d603bf06b6cc0ca1427a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0015]: cannot call non-const fn `Foo::{constant#0}::Foo::<17>::value` in constants
  --> $DIR/nested-type.rs:15:5
   |
LL |     Foo::<17>::value()
   |     ^^^^^^^^^^^^^^^^^^
   |
   = note: calls in constants are limited to constant functions, tuple structs and tuple variants

error: aborting due to previous error

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