mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-28 20:43:23 +03:00
Squelch warnings in webidl tests
This commit is contained in:
parent
9baee66bf3
commit
300aca38c2
@ -195,10 +195,6 @@ matrix:
|
||||
keep-history: false
|
||||
if: branch = master
|
||||
|
||||
before_install:
|
||||
# FIXME (travis-ci/travis-ci#8920) shouldn't be necessary...
|
||||
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
|
||||
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
|
@ -1061,15 +1061,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…
Reference in New Issue
Block a user