Workaround conflict between all-uppercase static and NaN definition.
This commit is contained in:
parent
e2be7aca08
commit
8d6f4c207a
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#[allow(non_uppercase_pattern_statics)];
|
||||
|
||||
// Matching against NaN should result in a warning
|
||||
|
||||
use std::float::NaN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue