Fix test
This commit is contained in:
parent
339bbebbc1
commit
e686aee48e
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
#![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]
|
||||
fn index_size_is_optimized() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue