mirror of
https://github.com/openharmony/third_party_rust_quote.git
synced 2026-07-19 22:03:30 -04:00
Hex literal support no longer exists
This commit is contained in:
@@ -147,14 +147,6 @@ fn test_integer() {
|
||||
assert_eq!(expected, tokens.to_string());
|
||||
}
|
||||
|
||||
// #[test]
|
||||
// fn test_hex() {
|
||||
// let hex = quote::Hex(0xFFFF_0000_u32);
|
||||
// let tokens = quote!(#hex);
|
||||
// let expected = "0xFFFF0000u32";
|
||||
// assert_eq!(expected, tokens.to_string());
|
||||
// }
|
||||
|
||||
#[test]
|
||||
fn test_floating() {
|
||||
let e32 = 2.345f32;
|
||||
|
||||
Reference in New Issue
Block a user