Hex literal support no longer exists

This commit is contained in:
David Tolnay
2017-12-28 00:46:05 -05:00
parent ed2634f0b2
commit 1e88be82eb
-8
View File
@@ -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;