diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-07-22 11:59:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 11:59:21 +0200 |
commit | 0c4582c66524d58a3c72827d9546a5c5f1c40286 (patch) | |
tree | de195aa39e39b70835c3377fb20680675b2bb9c1 /doc/nimc.rst | |
parent | 58e27ebd4a16ca9f2ba24826d7162384d5321101 (diff) | |
download | Nim-0c4582c66524d58a3c72827d9546a5c5f1c40286.tar.gz |
mitigates #12815 (#18557)
* mitigates #12815 * Update doc/nimc.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Diffstat (limited to 'doc/nimc.rst')
-rw-r--r-- | doc/nimc.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/nimc.rst b/doc/nimc.rst index 3c451706b..ed9077912 100644 --- a/doc/nimc.rst +++ b/doc/nimc.rst @@ -74,6 +74,8 @@ CStringConv Warn about dangerous implicit conversions to `cstring`. EnumConv Warn about conversions from enum to enum. AnyEnumConv Warn about any conversions to an enum type. +HoleEnumConv Warn about conversion to an enum with + holes. These conversions are unsafe. ResultUsed Warn about the usage of the built-in `result` variable. User Some user-defined warning. |