File: alternative_exprs.stderr

package info (click to toggle)
rust-num-enum 0.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 468 kB
  • sloc: makefile: 2
file content (5 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (5)
1
2
3
4
5
error: Only literals are allowed as num_enum alternate values
 --> tests/try_build/compile_fail/alternative_exprs.rs:7:39
  |
7 |     #[num_enum(alternatives = [-1, 2, THREE])]
  |                                       ^^^^^