rustc_index: Add a ZERO
constant to index types
It is commonly used.
This commit is contained in:
parent
ceab6128fa
commit
b40ea03f8a
42 changed files with 80 additions and 90 deletions
|
@ -243,7 +243,7 @@ fn t10() {
|
|||
src_hash,
|
||||
stable_id,
|
||||
source_len.to_u32(),
|
||||
CrateNum::new(0),
|
||||
CrateNum::ZERO,
|
||||
FreezeLock::new(lines.read().clone()),
|
||||
multibyte_chars,
|
||||
non_narrow_chars,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue