mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 18:20:51 +00:00
Squelch warnings in webidl tests
This commit is contained in:
parent
bbc46f92c6
commit
604ecd9529
@ -1065,15 +1065,15 @@ impl ToTokens for ast::Const {
|
||||
// again no suffix
|
||||
// panics on +-inf, nan
|
||||
FloatLiteral(f) => {
|
||||
let f = Literal::f64_unsuffixed(f);
|
||||
let f = Literal::f64_suffixed(f);
|
||||
quote!(#f)
|
||||
},
|
||||
SignedIntegerLiteral(i) => {
|
||||
let i = Literal::i64_unsuffixed(i);
|
||||
let i = Literal::i64_suffixed(i);
|
||||
quote!(#i)
|
||||
},
|
||||
UnsignedIntegerLiteral(i) => {
|
||||
let i = Literal::u64_unsuffixed(i);
|
||||
let i = Literal::u64_suffixed(i);
|
||||
quote!(#i)
|
||||
},
|
||||
Null => unimplemented!(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user