Skip to content

Commit 300aca3

Browse files
committed
Squelch warnings in webidl tests
1 parent 9baee66 commit 300aca3

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,6 @@ matrix:
195195
keep-history: false
196196
if: branch = master
197197

198-
before_install:
199-
# FIXME (travis-ci/travis-ci#8920) shouldn't be necessary...
200-
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
201-
202198
notifications:
203199
email:
204200
on_success: never

crates/backend/src/codegen.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,15 +1061,15 @@ impl ToTokens for ast::Const {
10611061
// again no suffix
10621062
// panics on +-inf, nan
10631063
FloatLiteral(f) => {
1064-
let f = Literal::f64_unsuffixed(f);
1064+
let f = Literal::f64_suffixed(f);
10651065
quote!(#f)
10661066
},
10671067
SignedIntegerLiteral(i) => {
1068-
let i = Literal::i64_unsuffixed(i);
1068+
let i = Literal::i64_suffixed(i);
10691069
quote!(#i)
10701070
},
10711071
UnsignedIntegerLiteral(i) => {
1072-
let i = Literal::u64_unsuffixed(i);
1072+
let i = Literal::u64_suffixed(i);
10731073
quote!(#i)
10741074
},
10751075
Null => unimplemented!(),

0 commit comments

Comments
 (0)