about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-09-05 19:11:50 +0200
committerLukas Wirth <lukastw97@gmail.com>2023-09-05 19:11:50 +0200
commit2bba056187220659e3e64f7183494273e3c72e62 (patch)
treefab78b08578df11212b2f557987dc381aebb0169 /compiler/rustc_parse_format/src
parentb89d7d6882532686fd90a89cec1a0fd386f0ade3 (diff)
downloadrust-2bba056187220659e3e64f7183494273e3c72e62.tar.gz
rust-2bba056187220659e3e64f7183494273e3c72e62.zip
Replace data_structures dependency with index in rustc_parse_format
Diffstat (limited to 'compiler/rustc_parse_format/src')
-rw-r--r--compiler/rustc_parse_format/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse_format/src/lib.rs b/compiler/rustc_parse_format/src/lib.rs
index 88452ccdf05..a6c7eb8d912 100644
--- a/compiler/rustc_parse_format/src/lib.rs
+++ b/compiler/rustc_parse_format/src/lib.rs
@@ -1011,7 +1011,7 @@ fn unescape_string(string: &str) -> Option<string::String> {
 
 // Assert a reasonable size for `Piece`
 #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
-rustc_data_structures::static_assert_size!(Piece<'_>, 16);
+rustc_index::static_assert_size!(Piece<'_>, 16);
 
 #[cfg(test)]
 mod tests;