diff options
Diffstat (limited to 'tests/test_const.rs')
-rw-r--r-- | tests/test_const.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_const.rs b/tests/test_const.rs index 1765c95..3c4f7d5 100644 --- a/tests/test_const.rs +++ b/tests/test_const.rs @@ -1,3 +1,5 @@ +#![allow(clippy::semicolon_if_nothing_returned)] // https://github.com/rust-lang/rust-clippy/issues/7324 + #[rustversion::attr(all(), const)] fn _basic() {} const _BASIC: () = _basic(); |