mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Fix test
This commit is contained in:
parent
339bbebbc1
commit
e686aee48e
@ -1,5 +1,9 @@
|
|||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA });
|
|
||||||
|
// Allows the macro invocation below to work
|
||||||
|
use crate as rustc_index;
|
||||||
|
|
||||||
|
rustc_macros::newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA });
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn index_size_is_optimized() {
|
fn index_size_is_optimized() {
|
||||||
|
Loading…
Reference in New Issue
Block a user