We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
integer_lit
float_lit
1 parent 432abd8 commit 0bed23bCopy full SHA for 0bed23b
compiler/rustc_ast/src/util/literal.rs
@@ -281,11 +281,13 @@ fn filtered_float_lit(
281
})
282
}
283
284
+#[inline]
285
fn float_lit(symbol: Symbol, suffix: Option<Symbol>) -> Result<LitKind, LitError> {
286
debug!("float_lit: {:?}, {:?}", symbol, suffix);
287
filtered_float_lit(strip_underscores(symbol), suffix, 10)
288
289
290
291
fn integer_lit(symbol: Symbol, suffix: Option<Symbol>) -> Result<LitKind, LitError> {
292
debug!("integer_lit: {:?}, {:?}", symbol, suffix);
293
let symbol = strip_underscores(symbol);
0 commit comments