about summary refs log tree commit diff
path: root/src/librustc_data_structures
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-09-10 13:40:34 +0200
committerOliver Schneider <github35764891676564198441@oli-obk.de>2018-09-11 11:25:51 +0200
commit833dc7e6826483b19c819fc19727efe4e8ddbf12 (patch)
treee3129c36ae23408fcdb7a5db0edf2c6d7d07136d /src/librustc_data_structures
parenta2c924b5ae21b67be77aa7e944ae9d9f883a0bde (diff)
Address attribute naming and use `Bound` enum
Diffstat (limited to 'src/librustc_data_structures')
-rw-r--r--src/librustc_data_structures/indexed_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/indexed_vec.rs b/src/librustc_data_structures/indexed_vec.rs
index 2d1709f2374..0b5fb97f0e1 100644
--- a/src/librustc_data_structures/indexed_vec.rs
+++ b/src/librustc_data_structures/indexed_vec.rs
@@ -97,7 +97,7 @@ macro_rules! newtype_index {
      @vis          [$v:vis]
      @debug_format [$debug_format:tt]) => (
         #[derive(Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, $($derives),*)]
-        #[rustc_layout_scalar_range_end($max)]
+        #[rustc_layout_scalar_valid_range_end($max)]
         $v struct $type {
             private: u32
         }