Workaround conflict between all-uppercase static and NaN definition.
This commit is contained in:
parent
e2be7aca08
commit
8d6f4c207a
@ -1,3 +1,5 @@
|
||||
#[allow(non_uppercase_pattern_statics)];
|
||||
|
||||
// Matching against NaN should result in a warning
|
||||
|
||||
use std::float::NaN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user