1#[lang = "not"]
33#[stable(feature = "rust1", since = "1.0.0")]
34#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
35#[doc(alias = "!")]
36pub const trait Not {
37 #[stable(feature = "rust1", since = "1.0.0")]
39 type Output;
40
41 #[must_use]
60 #[stable(feature = "rust1", since = "1.0.0")]
61 fn not(self) -> Self::Output;
62}
63
64macro_rules! not_impl {
65 ($($t:ty)*) => ($(
66 #[stable(feature = "rust1", since = "1.0.0")]
67 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
68 const impl Not for $t {
69 type Output = $t;
70
71 #[inline]
72 fn not(self) -> $t { !self }
73 }
74
75 forward_ref_unop! { impl Not, not for $t,
76 #[stable(feature = "rust1", since = "1.0.0")]
77 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
78 )*)
79}
80
81#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for bool {
type Output = bool;
#[inline]
fn not(self) -> bool { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &bool {
type Output = <bool as Not>::Output;
#[inline]
fn not(self) -> <bool as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for usize {
type Output = usize;
#[inline]
fn not(self) -> usize { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &usize {
type Output = <usize as Not>::Output;
#[inline]
fn not(self) -> <usize as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for u8 {
type Output = u8;
#[inline]
fn not(self) -> u8 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &u8 {
type Output = <u8 as Not>::Output;
#[inline]
fn not(self) -> <u8 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for u16 {
type Output = u16;
#[inline]
fn not(self) -> u16 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &u16 {
type Output = <u16 as Not>::Output;
#[inline]
fn not(self) -> <u16 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for u32 {
type Output = u32;
#[inline]
fn not(self) -> u32 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &u32 {
type Output = <u32 as Not>::Output;
#[inline]
fn not(self) -> <u32 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for u64 {
type Output = u64;
#[inline]
fn not(self) -> u64 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &u64 {
type Output = <u64 as Not>::Output;
#[inline]
fn not(self) -> <u64 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for u128 {
type Output = u128;
#[inline]
fn not(self) -> u128 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &u128 {
type Output = <u128 as Not>::Output;
#[inline]
fn not(self) -> <u128 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for isize {
type Output = isize;
#[inline]
fn not(self) -> isize { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &isize {
type Output = <isize as Not>::Output;
#[inline]
fn not(self) -> <isize as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for i8 {
type Output = i8;
#[inline]
fn not(self) -> i8 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &i8 {
type Output = <i8 as Not>::Output;
#[inline]
fn not(self) -> <i8 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for i16 {
type Output = i16;
#[inline]
fn not(self) -> i16 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &i16 {
type Output = <i16 as Not>::Output;
#[inline]
fn not(self) -> <i16 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for i32 {
type Output = i32;
#[inline]
fn not(self) -> i32 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &i32 {
type Output = <i32 as Not>::Output;
#[inline]
fn not(self) -> <i32 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for i64 {
type Output = i64;
#[inline]
fn not(self) -> i64 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &i64 {
type Output = <i64 as Not>::Output;
#[inline]
fn not(self) -> <i64 as Not>::Output { Not::not(*self) }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for i128 {
type Output = i128;
#[inline]
fn not(self) -> i128 { !self }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Not for &i128 {
type Output = <i128 as Not>::Output;
#[inline]
fn not(self) -> <i128 as Not>::Output { Not::not(*self) }
}not_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
82
83#[stable(feature = "not_never", since = "1.60.0")]
84#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
85const impl Not for ! {
86 type Output = !;
87
88 #[inline]
89 fn not(self) -> ! {
90 match self {}
91 }
92}
93
94#[lang = "bitand"]
152#[doc(alias = "&")]
153#[stable(feature = "rust1", since = "1.0.0")]
154#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
155#[diagnostic::on_unimplemented(
156 message = "no implementation for `{Self} & {Rhs}`",
157 label = "no implementation for `{Self} & {Rhs}`"
158)]
159pub const trait BitAnd<Rhs = Self> {
160 #[stable(feature = "rust1", since = "1.0.0")]
162 type Output;
163
164 #[must_use]
175 #[stable(feature = "rust1", since = "1.0.0")]
176 fn bitand(self, rhs: Rhs) -> Self::Output;
177}
178
179macro_rules! bitand_impl {
180 ($($t:ty)*) => ($(
181 #[stable(feature = "rust1", since = "1.0.0")]
182 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
183 const impl BitAnd for $t {
184 type Output = $t;
185
186 #[inline]
187 fn bitand(self, rhs: $t) -> $t { self & rhs }
188 }
189
190 forward_ref_binop! { impl BitAnd, bitand for $t, $t,
191 #[stable(feature = "rust1", since = "1.0.0")]
192 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
193 )*)
194}
195
196#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for bool {
type Output = bool;
#[inline]
fn bitand(self, rhs: bool) -> bool { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<bool> for &bool {
type Output = <bool as BitAnd<bool>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: bool) -> <bool as BitAnd<bool>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&bool> for bool {
type Output = <bool as BitAnd<bool>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &bool) -> <bool as BitAnd<bool>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&bool> for &bool {
type Output = <bool as BitAnd<bool>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &bool) -> <bool as BitAnd<bool>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for usize {
type Output = usize;
#[inline]
fn bitand(self, rhs: usize) -> usize { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<usize> for &usize {
type Output = <usize as BitAnd<usize>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: usize) -> <usize as BitAnd<usize>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&usize> for usize {
type Output = <usize as BitAnd<usize>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &usize) -> <usize as BitAnd<usize>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&usize> for &usize {
type Output = <usize as BitAnd<usize>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &usize) -> <usize as BitAnd<usize>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for u8 {
type Output = u8;
#[inline]
fn bitand(self, rhs: u8) -> u8 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<u8> for &u8 {
type Output = <u8 as BitAnd<u8>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: u8) -> <u8 as BitAnd<u8>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u8> for u8 {
type Output = <u8 as BitAnd<u8>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u8) -> <u8 as BitAnd<u8>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u8> for &u8 {
type Output = <u8 as BitAnd<u8>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u8) -> <u8 as BitAnd<u8>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for u16 {
type Output = u16;
#[inline]
fn bitand(self, rhs: u16) -> u16 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<u16> for &u16 {
type Output = <u16 as BitAnd<u16>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: u16) -> <u16 as BitAnd<u16>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u16> for u16 {
type Output = <u16 as BitAnd<u16>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u16) -> <u16 as BitAnd<u16>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u16> for &u16 {
type Output = <u16 as BitAnd<u16>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u16) -> <u16 as BitAnd<u16>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for u32 {
type Output = u32;
#[inline]
fn bitand(self, rhs: u32) -> u32 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<u32> for &u32 {
type Output = <u32 as BitAnd<u32>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: u32) -> <u32 as BitAnd<u32>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u32> for u32 {
type Output = <u32 as BitAnd<u32>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u32) -> <u32 as BitAnd<u32>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u32> for &u32 {
type Output = <u32 as BitAnd<u32>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u32) -> <u32 as BitAnd<u32>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for u64 {
type Output = u64;
#[inline]
fn bitand(self, rhs: u64) -> u64 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<u64> for &u64 {
type Output = <u64 as BitAnd<u64>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: u64) -> <u64 as BitAnd<u64>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u64> for u64 {
type Output = <u64 as BitAnd<u64>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u64) -> <u64 as BitAnd<u64>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u64> for &u64 {
type Output = <u64 as BitAnd<u64>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u64) -> <u64 as BitAnd<u64>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for u128 {
type Output = u128;
#[inline]
fn bitand(self, rhs: u128) -> u128 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<u128> for &u128 {
type Output = <u128 as BitAnd<u128>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: u128) -> <u128 as BitAnd<u128>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u128> for u128 {
type Output = <u128 as BitAnd<u128>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u128) -> <u128 as BitAnd<u128>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&u128> for &u128 {
type Output = <u128 as BitAnd<u128>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &u128) -> <u128 as BitAnd<u128>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for isize {
type Output = isize;
#[inline]
fn bitand(self, rhs: isize) -> isize { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<isize> for &isize {
type Output = <isize as BitAnd<isize>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: isize) -> <isize as BitAnd<isize>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&isize> for isize {
type Output = <isize as BitAnd<isize>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &isize) -> <isize as BitAnd<isize>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&isize> for &isize {
type Output = <isize as BitAnd<isize>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &isize) -> <isize as BitAnd<isize>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for i8 {
type Output = i8;
#[inline]
fn bitand(self, rhs: i8) -> i8 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<i8> for &i8 {
type Output = <i8 as BitAnd<i8>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: i8) -> <i8 as BitAnd<i8>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i8> for i8 {
type Output = <i8 as BitAnd<i8>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i8) -> <i8 as BitAnd<i8>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i8> for &i8 {
type Output = <i8 as BitAnd<i8>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i8) -> <i8 as BitAnd<i8>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for i16 {
type Output = i16;
#[inline]
fn bitand(self, rhs: i16) -> i16 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<i16> for &i16 {
type Output = <i16 as BitAnd<i16>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: i16) -> <i16 as BitAnd<i16>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i16> for i16 {
type Output = <i16 as BitAnd<i16>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i16) -> <i16 as BitAnd<i16>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i16> for &i16 {
type Output = <i16 as BitAnd<i16>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i16) -> <i16 as BitAnd<i16>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for i32 {
type Output = i32;
#[inline]
fn bitand(self, rhs: i32) -> i32 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<i32> for &i32 {
type Output = <i32 as BitAnd<i32>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: i32) -> <i32 as BitAnd<i32>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i32> for i32 {
type Output = <i32 as BitAnd<i32>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i32) -> <i32 as BitAnd<i32>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i32> for &i32 {
type Output = <i32 as BitAnd<i32>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i32) -> <i32 as BitAnd<i32>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for i64 {
type Output = i64;
#[inline]
fn bitand(self, rhs: i64) -> i64 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<i64> for &i64 {
type Output = <i64 as BitAnd<i64>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: i64) -> <i64 as BitAnd<i64>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i64> for i64 {
type Output = <i64 as BitAnd<i64>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i64) -> <i64 as BitAnd<i64>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i64> for &i64 {
type Output = <i64 as BitAnd<i64>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i64) -> <i64 as BitAnd<i64>>::Output {
BitAnd::bitand(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd for i128 {
type Output = i128;
#[inline]
fn bitand(self, rhs: i128) -> i128 { self & rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<i128> for &i128 {
type Output = <i128 as BitAnd<i128>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: i128) -> <i128 as BitAnd<i128>>::Output {
BitAnd::bitand(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i128> for i128 {
type Output = <i128 as BitAnd<i128>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i128) -> <i128 as BitAnd<i128>>::Output {
BitAnd::bitand(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAnd<&i128> for &i128 {
type Output = <i128 as BitAnd<i128>>::Output;
#[inline]
#[track_caller]
fn bitand(self, other: &i128) -> <i128 as BitAnd<i128>>::Output {
BitAnd::bitand(*self, *other)
}
}bitand_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
197
198#[lang = "bitor"]
256#[doc(alias = "|")]
257#[stable(feature = "rust1", since = "1.0.0")]
258#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
259#[diagnostic::on_unimplemented(
260 message = "no implementation for `{Self} | {Rhs}`",
261 label = "no implementation for `{Self} | {Rhs}`"
262)]
263pub const trait BitOr<Rhs = Self> {
264 #[stable(feature = "rust1", since = "1.0.0")]
266 type Output;
267
268 #[must_use]
279 #[stable(feature = "rust1", since = "1.0.0")]
280 fn bitor(self, rhs: Rhs) -> Self::Output;
281}
282
283macro_rules! bitor_impl {
284 ($($t:ty)*) => ($(
285 #[stable(feature = "rust1", since = "1.0.0")]
286 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
287 const impl BitOr for $t {
288 type Output = $t;
289
290 #[inline]
291 fn bitor(self, rhs: $t) -> $t { self | rhs }
292 }
293
294 forward_ref_binop! { impl BitOr, bitor for $t, $t,
295 #[stable(feature = "rust1", since = "1.0.0")]
296 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
297 )*)
298}
299
300#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for bool {
type Output = bool;
#[inline]
fn bitor(self, rhs: bool) -> bool { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<bool> for &bool {
type Output = <bool as BitOr<bool>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: bool) -> <bool as BitOr<bool>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&bool> for bool {
type Output = <bool as BitOr<bool>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &bool) -> <bool as BitOr<bool>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&bool> for &bool {
type Output = <bool as BitOr<bool>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &bool) -> <bool as BitOr<bool>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for usize {
type Output = usize;
#[inline]
fn bitor(self, rhs: usize) -> usize { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<usize> for &usize {
type Output = <usize as BitOr<usize>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: usize) -> <usize as BitOr<usize>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&usize> for usize {
type Output = <usize as BitOr<usize>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &usize) -> <usize as BitOr<usize>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&usize> for &usize {
type Output = <usize as BitOr<usize>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &usize) -> <usize as BitOr<usize>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for u8 {
type Output = u8;
#[inline]
fn bitor(self, rhs: u8) -> u8 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<u8> for &u8 {
type Output = <u8 as BitOr<u8>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: u8) -> <u8 as BitOr<u8>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u8> for u8 {
type Output = <u8 as BitOr<u8>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u8) -> <u8 as BitOr<u8>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u8> for &u8 {
type Output = <u8 as BitOr<u8>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u8) -> <u8 as BitOr<u8>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for u16 {
type Output = u16;
#[inline]
fn bitor(self, rhs: u16) -> u16 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<u16> for &u16 {
type Output = <u16 as BitOr<u16>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: u16) -> <u16 as BitOr<u16>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u16> for u16 {
type Output = <u16 as BitOr<u16>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u16) -> <u16 as BitOr<u16>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u16> for &u16 {
type Output = <u16 as BitOr<u16>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u16) -> <u16 as BitOr<u16>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for u32 {
type Output = u32;
#[inline]
fn bitor(self, rhs: u32) -> u32 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<u32> for &u32 {
type Output = <u32 as BitOr<u32>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: u32) -> <u32 as BitOr<u32>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u32> for u32 {
type Output = <u32 as BitOr<u32>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u32) -> <u32 as BitOr<u32>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u32> for &u32 {
type Output = <u32 as BitOr<u32>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u32) -> <u32 as BitOr<u32>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for u64 {
type Output = u64;
#[inline]
fn bitor(self, rhs: u64) -> u64 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<u64> for &u64 {
type Output = <u64 as BitOr<u64>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: u64) -> <u64 as BitOr<u64>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u64> for u64 {
type Output = <u64 as BitOr<u64>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u64) -> <u64 as BitOr<u64>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u64> for &u64 {
type Output = <u64 as BitOr<u64>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u64) -> <u64 as BitOr<u64>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for u128 {
type Output = u128;
#[inline]
fn bitor(self, rhs: u128) -> u128 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<u128> for &u128 {
type Output = <u128 as BitOr<u128>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: u128) -> <u128 as BitOr<u128>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u128> for u128 {
type Output = <u128 as BitOr<u128>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u128) -> <u128 as BitOr<u128>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&u128> for &u128 {
type Output = <u128 as BitOr<u128>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &u128) -> <u128 as BitOr<u128>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for isize {
type Output = isize;
#[inline]
fn bitor(self, rhs: isize) -> isize { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<isize> for &isize {
type Output = <isize as BitOr<isize>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: isize) -> <isize as BitOr<isize>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&isize> for isize {
type Output = <isize as BitOr<isize>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &isize) -> <isize as BitOr<isize>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&isize> for &isize {
type Output = <isize as BitOr<isize>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &isize) -> <isize as BitOr<isize>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for i8 {
type Output = i8;
#[inline]
fn bitor(self, rhs: i8) -> i8 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<i8> for &i8 {
type Output = <i8 as BitOr<i8>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: i8) -> <i8 as BitOr<i8>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i8> for i8 {
type Output = <i8 as BitOr<i8>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i8) -> <i8 as BitOr<i8>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i8> for &i8 {
type Output = <i8 as BitOr<i8>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i8) -> <i8 as BitOr<i8>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for i16 {
type Output = i16;
#[inline]
fn bitor(self, rhs: i16) -> i16 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<i16> for &i16 {
type Output = <i16 as BitOr<i16>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: i16) -> <i16 as BitOr<i16>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i16> for i16 {
type Output = <i16 as BitOr<i16>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i16) -> <i16 as BitOr<i16>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i16> for &i16 {
type Output = <i16 as BitOr<i16>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i16) -> <i16 as BitOr<i16>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for i32 {
type Output = i32;
#[inline]
fn bitor(self, rhs: i32) -> i32 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<i32> for &i32 {
type Output = <i32 as BitOr<i32>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: i32) -> <i32 as BitOr<i32>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i32> for i32 {
type Output = <i32 as BitOr<i32>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i32) -> <i32 as BitOr<i32>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i32> for &i32 {
type Output = <i32 as BitOr<i32>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i32) -> <i32 as BitOr<i32>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for i64 {
type Output = i64;
#[inline]
fn bitor(self, rhs: i64) -> i64 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<i64> for &i64 {
type Output = <i64 as BitOr<i64>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: i64) -> <i64 as BitOr<i64>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i64> for i64 {
type Output = <i64 as BitOr<i64>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i64) -> <i64 as BitOr<i64>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i64> for &i64 {
type Output = <i64 as BitOr<i64>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i64) -> <i64 as BitOr<i64>>::Output {
BitOr::bitor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr for i128 {
type Output = i128;
#[inline]
fn bitor(self, rhs: i128) -> i128 { self | rhs }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<i128> for &i128 {
type Output = <i128 as BitOr<i128>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: i128) -> <i128 as BitOr<i128>>::Output {
BitOr::bitor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i128> for i128 {
type Output = <i128 as BitOr<i128>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i128) -> <i128 as BitOr<i128>>::Output {
BitOr::bitor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOr<&i128> for &i128 {
type Output = <i128 as BitOr<i128>>::Output;
#[inline]
#[track_caller]
fn bitor(self, other: &i128) -> <i128 as BitOr<i128>>::Output {
BitOr::bitor(*self, *other)
}
}bitor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
301
302#[lang = "bitxor"]
360#[doc(alias = "^")]
361#[stable(feature = "rust1", since = "1.0.0")]
362#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
363#[diagnostic::on_unimplemented(
364 message = "no implementation for `{Self} ^ {Rhs}`",
365 label = "no implementation for `{Self} ^ {Rhs}`"
366)]
367pub const trait BitXor<Rhs = Self> {
368 #[stable(feature = "rust1", since = "1.0.0")]
370 type Output;
371
372 #[must_use]
383 #[stable(feature = "rust1", since = "1.0.0")]
384 fn bitxor(self, rhs: Rhs) -> Self::Output;
385}
386
387macro_rules! bitxor_impl {
388 ($($t:ty)*) => ($(
389 #[stable(feature = "rust1", since = "1.0.0")]
390 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
391 const impl BitXor for $t {
392 type Output = $t;
393
394 #[inline]
395 fn bitxor(self, other: $t) -> $t { self ^ other }
396 }
397
398 forward_ref_binop! { impl BitXor, bitxor for $t, $t,
399 #[stable(feature = "rust1", since = "1.0.0")]
400 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
401 )*)
402}
403
404#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for bool {
type Output = bool;
#[inline]
fn bitxor(self, other: bool) -> bool { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<bool> for &bool {
type Output = <bool as BitXor<bool>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: bool) -> <bool as BitXor<bool>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&bool> for bool {
type Output = <bool as BitXor<bool>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &bool) -> <bool as BitXor<bool>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&bool> for &bool {
type Output = <bool as BitXor<bool>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &bool) -> <bool as BitXor<bool>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for usize {
type Output = usize;
#[inline]
fn bitxor(self, other: usize) -> usize { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<usize> for &usize {
type Output = <usize as BitXor<usize>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: usize) -> <usize as BitXor<usize>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&usize> for usize {
type Output = <usize as BitXor<usize>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &usize) -> <usize as BitXor<usize>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&usize> for &usize {
type Output = <usize as BitXor<usize>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &usize) -> <usize as BitXor<usize>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for u8 {
type Output = u8;
#[inline]
fn bitxor(self, other: u8) -> u8 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<u8> for &u8 {
type Output = <u8 as BitXor<u8>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: u8) -> <u8 as BitXor<u8>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u8> for u8 {
type Output = <u8 as BitXor<u8>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u8) -> <u8 as BitXor<u8>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u8> for &u8 {
type Output = <u8 as BitXor<u8>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u8) -> <u8 as BitXor<u8>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for u16 {
type Output = u16;
#[inline]
fn bitxor(self, other: u16) -> u16 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<u16> for &u16 {
type Output = <u16 as BitXor<u16>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: u16) -> <u16 as BitXor<u16>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u16> for u16 {
type Output = <u16 as BitXor<u16>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u16) -> <u16 as BitXor<u16>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u16> for &u16 {
type Output = <u16 as BitXor<u16>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u16) -> <u16 as BitXor<u16>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for u32 {
type Output = u32;
#[inline]
fn bitxor(self, other: u32) -> u32 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<u32> for &u32 {
type Output = <u32 as BitXor<u32>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: u32) -> <u32 as BitXor<u32>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u32> for u32 {
type Output = <u32 as BitXor<u32>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u32) -> <u32 as BitXor<u32>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u32> for &u32 {
type Output = <u32 as BitXor<u32>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u32) -> <u32 as BitXor<u32>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for u64 {
type Output = u64;
#[inline]
fn bitxor(self, other: u64) -> u64 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<u64> for &u64 {
type Output = <u64 as BitXor<u64>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: u64) -> <u64 as BitXor<u64>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u64> for u64 {
type Output = <u64 as BitXor<u64>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u64) -> <u64 as BitXor<u64>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u64> for &u64 {
type Output = <u64 as BitXor<u64>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u64) -> <u64 as BitXor<u64>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for u128 {
type Output = u128;
#[inline]
fn bitxor(self, other: u128) -> u128 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<u128> for &u128 {
type Output = <u128 as BitXor<u128>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: u128) -> <u128 as BitXor<u128>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u128> for u128 {
type Output = <u128 as BitXor<u128>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u128) -> <u128 as BitXor<u128>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&u128> for &u128 {
type Output = <u128 as BitXor<u128>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &u128) -> <u128 as BitXor<u128>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for isize {
type Output = isize;
#[inline]
fn bitxor(self, other: isize) -> isize { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<isize> for &isize {
type Output = <isize as BitXor<isize>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: isize) -> <isize as BitXor<isize>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&isize> for isize {
type Output = <isize as BitXor<isize>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &isize) -> <isize as BitXor<isize>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&isize> for &isize {
type Output = <isize as BitXor<isize>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &isize) -> <isize as BitXor<isize>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for i8 {
type Output = i8;
#[inline]
fn bitxor(self, other: i8) -> i8 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<i8> for &i8 {
type Output = <i8 as BitXor<i8>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: i8) -> <i8 as BitXor<i8>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i8> for i8 {
type Output = <i8 as BitXor<i8>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i8) -> <i8 as BitXor<i8>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i8> for &i8 {
type Output = <i8 as BitXor<i8>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i8) -> <i8 as BitXor<i8>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for i16 {
type Output = i16;
#[inline]
fn bitxor(self, other: i16) -> i16 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<i16> for &i16 {
type Output = <i16 as BitXor<i16>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: i16) -> <i16 as BitXor<i16>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i16> for i16 {
type Output = <i16 as BitXor<i16>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i16) -> <i16 as BitXor<i16>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i16> for &i16 {
type Output = <i16 as BitXor<i16>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i16) -> <i16 as BitXor<i16>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for i32 {
type Output = i32;
#[inline]
fn bitxor(self, other: i32) -> i32 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<i32> for &i32 {
type Output = <i32 as BitXor<i32>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: i32) -> <i32 as BitXor<i32>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i32> for i32 {
type Output = <i32 as BitXor<i32>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i32) -> <i32 as BitXor<i32>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i32> for &i32 {
type Output = <i32 as BitXor<i32>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i32) -> <i32 as BitXor<i32>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for i64 {
type Output = i64;
#[inline]
fn bitxor(self, other: i64) -> i64 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<i64> for &i64 {
type Output = <i64 as BitXor<i64>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: i64) -> <i64 as BitXor<i64>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i64> for i64 {
type Output = <i64 as BitXor<i64>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i64) -> <i64 as BitXor<i64>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i64> for &i64 {
type Output = <i64 as BitXor<i64>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i64) -> <i64 as BitXor<i64>>::Output {
BitXor::bitxor(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor for i128 {
type Output = i128;
#[inline]
fn bitxor(self, other: i128) -> i128 { self ^ other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<i128> for &i128 {
type Output = <i128 as BitXor<i128>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: i128) -> <i128 as BitXor<i128>>::Output {
BitXor::bitxor(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i128> for i128 {
type Output = <i128 as BitXor<i128>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i128) -> <i128 as BitXor<i128>>::Output {
BitXor::bitxor(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXor<&i128> for &i128 {
type Output = <i128 as BitXor<i128>>::Output;
#[inline]
#[track_caller]
fn bitxor(self, other: &i128) -> <i128 as BitXor<i128>>::Output {
BitXor::bitxor(*self, *other)
}
}bitxor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
405
406#[lang = "shl"]
463#[doc(alias = "<<")]
464#[stable(feature = "rust1", since = "1.0.0")]
465#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
466#[diagnostic::on_unimplemented(
467 message = "no implementation for `{Self} << {Rhs}`",
468 label = "no implementation for `{Self} << {Rhs}`"
469)]
470pub const trait Shl<Rhs = Self> {
471 #[stable(feature = "rust1", since = "1.0.0")]
473 type Output;
474
475 #[must_use]
484 #[stable(feature = "rust1", since = "1.0.0")]
485 fn shl(self, rhs: Rhs) -> Self::Output;
486}
487
488macro_rules! shl_impl {
489 ($t:ty, $f:ty) => {
490 #[stable(feature = "rust1", since = "1.0.0")]
491 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
492 const impl Shl<$f> for $t {
493 type Output = $t;
494
495 #[inline]
496 #[track_caller]
497 #[rustc_inherit_overflow_checks]
498 fn shl(self, other: $f) -> $t {
499 self << other
500 }
501 }
502
503 forward_ref_binop! { impl Shl, shl for $t, $f,
504 #[stable(feature = "rust1", since = "1.0.0")]
505 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
506 };
507}
508
509macro_rules! shl_impl_all {
510 ($($t:ty)*) => ($(
511 shl_impl! { $t, u8 }
512 shl_impl! { $t, u16 }
513 shl_impl! { $t, u32 }
514 shl_impl! { $t, u64 }
515 shl_impl! { $t, u128 }
516 shl_impl! { $t, usize }
517
518 shl_impl! { $t, i8 }
519 shl_impl! { $t, i16 }
520 shl_impl! { $t, i32 }
521 shl_impl! { $t, i64 }
522 shl_impl! { $t, i128 }
523 shl_impl! { $t, isize }
524 )*)
525}
526
527#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &u8 {
type Output = <u8 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <u8 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for u8 {
type Output = <u8 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u8 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &u8 {
type Output = <u8 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u8 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &u8 {
type Output = <u8 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <u8 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for u8 {
type Output = <u8 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u8 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &u8 {
type Output = <u8 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u8 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &u8 {
type Output = <u8 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <u8 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for u8 {
type Output = <u8 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u8 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &u8 {
type Output = <u8 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u8 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &u8 {
type Output = <u8 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <u8 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for u8 {
type Output = <u8 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u8 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &u8 {
type Output = <u8 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u8 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &u8 {
type Output = <u8 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <u8 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for u8 {
type Output = <u8 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u8 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &u8 {
type Output = <u8 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u8 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &u8 {
type Output = <u8 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <u8 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for u8 {
type Output = <u8 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u8 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &u8 {
type Output = <u8 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u8 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &u8 {
type Output = <u8 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <u8 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for u8 {
type Output = <u8 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u8 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &u8 {
type Output = <u8 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u8 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &u8 {
type Output = <u8 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <u8 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for u8 {
type Output = <u8 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u8 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &u8 {
type Output = <u8 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u8 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &u8 {
type Output = <u8 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <u8 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for u8 {
type Output = <u8 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u8 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &u8 {
type Output = <u8 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u8 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &u8 {
type Output = <u8 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <u8 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for u8 {
type Output = <u8 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u8 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &u8 {
type Output = <u8 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u8 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &u8 {
type Output = <u8 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <u8 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for u8 {
type Output = <u8 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u8 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &u8 {
type Output = <u8 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u8 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> u8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &u8 {
type Output = <u8 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <u8 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for u8 {
type Output = <u8 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u8 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &u8 {
type Output = <u8 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u8 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &u16 {
type Output = <u16 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <u16 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for u16 {
type Output = <u16 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u16 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &u16 {
type Output = <u16 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u16 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &u16 {
type Output = <u16 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <u16 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for u16 {
type Output = <u16 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u16 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &u16 {
type Output = <u16 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u16 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &u16 {
type Output = <u16 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <u16 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for u16 {
type Output = <u16 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u16 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &u16 {
type Output = <u16 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u16 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &u16 {
type Output = <u16 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <u16 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for u16 {
type Output = <u16 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u16 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &u16 {
type Output = <u16 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u16 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &u16 {
type Output = <u16 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <u16 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for u16 {
type Output = <u16 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u16 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &u16 {
type Output = <u16 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u16 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &u16 {
type Output = <u16 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <u16 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for u16 {
type Output = <u16 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u16 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &u16 {
type Output = <u16 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u16 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &u16 {
type Output = <u16 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <u16 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for u16 {
type Output = <u16 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u16 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &u16 {
type Output = <u16 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u16 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &u16 {
type Output = <u16 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <u16 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for u16 {
type Output = <u16 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u16 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &u16 {
type Output = <u16 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u16 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &u16 {
type Output = <u16 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <u16 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for u16 {
type Output = <u16 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u16 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &u16 {
type Output = <u16 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u16 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &u16 {
type Output = <u16 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <u16 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for u16 {
type Output = <u16 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u16 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &u16 {
type Output = <u16 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u16 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &u16 {
type Output = <u16 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <u16 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for u16 {
type Output = <u16 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u16 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &u16 {
type Output = <u16 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u16 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> u16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &u16 {
type Output = <u16 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <u16 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for u16 {
type Output = <u16 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u16 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &u16 {
type Output = <u16 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u16 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &u32 {
type Output = <u32 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <u32 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for u32 {
type Output = <u32 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &u32 {
type Output = <u32 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &u32 {
type Output = <u32 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <u32 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for u32 {
type Output = <u32 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &u32 {
type Output = <u32 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &u32 {
type Output = <u32 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <u32 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for u32 {
type Output = <u32 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u32 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &u32 {
type Output = <u32 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u32 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &u32 {
type Output = <u32 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <u32 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for u32 {
type Output = <u32 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &u32 {
type Output = <u32 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &u32 {
type Output = <u32 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <u32 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for u32 {
type Output = <u32 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &u32 {
type Output = <u32 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &u32 {
type Output = <u32 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <u32 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for u32 {
type Output = <u32 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &u32 {
type Output = <u32 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &u32 {
type Output = <u32 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <u32 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for u32 {
type Output = <u32 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &u32 {
type Output = <u32 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &u32 {
type Output = <u32 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <u32 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for u32 {
type Output = <u32 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &u32 {
type Output = <u32 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &u32 {
type Output = <u32 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <u32 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for u32 {
type Output = <u32 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &u32 {
type Output = <u32 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &u32 {
type Output = <u32 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <u32 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for u32 {
type Output = <u32 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &u32 {
type Output = <u32 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &u32 {
type Output = <u32 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <u32 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for u32 {
type Output = <u32 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &u32 {
type Output = <u32 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> u32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &u32 {
type Output = <u32 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <u32 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for u32 {
type Output = <u32 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &u32 {
type Output = <u32 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &u64 {
type Output = <u64 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <u64 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for u64 {
type Output = <u64 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u64 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &u64 {
type Output = <u64 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u64 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &u64 {
type Output = <u64 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <u64 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for u64 {
type Output = <u64 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u64 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &u64 {
type Output = <u64 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u64 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &u64 {
type Output = <u64 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <u64 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for u64 {
type Output = <u64 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u64 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &u64 {
type Output = <u64 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u64 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &u64 {
type Output = <u64 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <u64 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for u64 {
type Output = <u64 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u64 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &u64 {
type Output = <u64 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u64 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &u64 {
type Output = <u64 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <u64 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for u64 {
type Output = <u64 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u64 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &u64 {
type Output = <u64 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u64 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &u64 {
type Output = <u64 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <u64 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for u64 {
type Output = <u64 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u64 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &u64 {
type Output = <u64 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u64 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &u64 {
type Output = <u64 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <u64 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for u64 {
type Output = <u64 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u64 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &u64 {
type Output = <u64 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u64 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &u64 {
type Output = <u64 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <u64 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for u64 {
type Output = <u64 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u64 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &u64 {
type Output = <u64 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u64 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &u64 {
type Output = <u64 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <u64 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for u64 {
type Output = <u64 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u64 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &u64 {
type Output = <u64 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u64 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &u64 {
type Output = <u64 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <u64 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for u64 {
type Output = <u64 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u64 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &u64 {
type Output = <u64 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u64 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &u64 {
type Output = <u64 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <u64 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for u64 {
type Output = <u64 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u64 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &u64 {
type Output = <u64 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u64 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> u64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &u64 {
type Output = <u64 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <u64 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for u64 {
type Output = <u64 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u64 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &u64 {
type Output = <u64 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u64 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &u128 {
type Output = <u128 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <u128 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for u128 {
type Output = <u128 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u128 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &u128 {
type Output = <u128 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <u128 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &u128 {
type Output = <u128 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <u128 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for u128 {
type Output = <u128 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u128 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &u128 {
type Output = <u128 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <u128 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &u128 {
type Output = <u128 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <u128 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for u128 {
type Output = <u128 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u128 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &u128 {
type Output = <u128 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <u128 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &u128 {
type Output = <u128 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <u128 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for u128 {
type Output = <u128 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u128 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &u128 {
type Output = <u128 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <u128 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &u128 {
type Output = <u128 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <u128 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for u128 {
type Output = <u128 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u128 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &u128 {
type Output = <u128 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <u128 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &u128 {
type Output = <u128 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <u128 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for u128 {
type Output = <u128 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u128 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &u128 {
type Output = <u128 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <u128 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &u128 {
type Output = <u128 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <u128 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for u128 {
type Output = <u128 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u128 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &u128 {
type Output = <u128 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <u128 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &u128 {
type Output = <u128 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <u128 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for u128 {
type Output = <u128 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u128 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &u128 {
type Output = <u128 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <u128 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &u128 {
type Output = <u128 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <u128 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for u128 {
type Output = <u128 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u128 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &u128 {
type Output = <u128 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <u128 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &u128 {
type Output = <u128 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <u128 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for u128 {
type Output = <u128 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u128 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &u128 {
type Output = <u128 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <u128 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &u128 {
type Output = <u128 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <u128 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for u128 {
type Output = <u128 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u128 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &u128 {
type Output = <u128 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <u128 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> u128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &u128 {
type Output = <u128 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <u128 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for u128 {
type Output = <u128 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u128 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &u128 {
type Output = <u128 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <u128 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &usize {
type Output = <usize as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <usize as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for usize {
type Output = <usize as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <usize as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &usize {
type Output = <usize as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <usize as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &usize {
type Output = <usize as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <usize as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for usize {
type Output = <usize as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <usize as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &usize {
type Output = <usize as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <usize as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &usize {
type Output = <usize as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <usize as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for usize {
type Output = <usize as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <usize as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &usize {
type Output = <usize as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <usize as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &usize {
type Output = <usize as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <usize as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for usize {
type Output = <usize as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <usize as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &usize {
type Output = <usize as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <usize as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &usize {
type Output = <usize as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <usize as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for usize {
type Output = <usize as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <usize as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &usize {
type Output = <usize as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <usize as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &usize {
type Output = <usize as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <usize as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for usize {
type Output = <usize as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <usize as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &usize {
type Output = <usize as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <usize as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &usize {
type Output = <usize as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <usize as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for usize {
type Output = <usize as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <usize as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &usize {
type Output = <usize as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <usize as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &usize {
type Output = <usize as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <usize as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for usize {
type Output = <usize as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <usize as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &usize {
type Output = <usize as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <usize as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &usize {
type Output = <usize as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <usize as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for usize {
type Output = <usize as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <usize as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &usize {
type Output = <usize as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <usize as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &usize {
type Output = <usize as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <usize as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for usize {
type Output = <usize as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <usize as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &usize {
type Output = <usize as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <usize as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &usize {
type Output = <usize as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <usize as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for usize {
type Output = <usize as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <usize as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &usize {
type Output = <usize as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <usize as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> usize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &usize {
type Output = <usize as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <usize as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for usize {
type Output = <usize as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <usize as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &usize {
type Output = <usize as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <usize as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &i8 {
type Output = <i8 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <i8 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for i8 {
type Output = <i8 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i8 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &i8 {
type Output = <i8 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i8 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &i8 {
type Output = <i8 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <i8 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for i8 {
type Output = <i8 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i8 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &i8 {
type Output = <i8 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i8 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &i8 {
type Output = <i8 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <i8 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for i8 {
type Output = <i8 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i8 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &i8 {
type Output = <i8 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i8 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &i8 {
type Output = <i8 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <i8 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for i8 {
type Output = <i8 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i8 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &i8 {
type Output = <i8 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i8 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &i8 {
type Output = <i8 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <i8 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for i8 {
type Output = <i8 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i8 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &i8 {
type Output = <i8 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i8 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &i8 {
type Output = <i8 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <i8 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for i8 {
type Output = <i8 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i8 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &i8 {
type Output = <i8 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i8 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &i8 {
type Output = <i8 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <i8 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for i8 {
type Output = <i8 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i8 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &i8 {
type Output = <i8 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i8 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &i8 {
type Output = <i8 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <i8 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for i8 {
type Output = <i8 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i8 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &i8 {
type Output = <i8 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i8 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &i8 {
type Output = <i8 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <i8 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for i8 {
type Output = <i8 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i8 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &i8 {
type Output = <i8 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i8 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &i8 {
type Output = <i8 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <i8 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for i8 {
type Output = <i8 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i8 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &i8 {
type Output = <i8 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i8 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &i8 {
type Output = <i8 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <i8 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for i8 {
type Output = <i8 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i8 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &i8 {
type Output = <i8 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i8 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> i8 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &i8 {
type Output = <i8 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <i8 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for i8 {
type Output = <i8 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i8 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &i8 {
type Output = <i8 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i8 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &i16 {
type Output = <i16 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <i16 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for i16 {
type Output = <i16 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i16 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &i16 {
type Output = <i16 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i16 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &i16 {
type Output = <i16 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <i16 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for i16 {
type Output = <i16 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i16 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &i16 {
type Output = <i16 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i16 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &i16 {
type Output = <i16 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <i16 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for i16 {
type Output = <i16 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i16 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &i16 {
type Output = <i16 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i16 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &i16 {
type Output = <i16 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <i16 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for i16 {
type Output = <i16 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i16 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &i16 {
type Output = <i16 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i16 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &i16 {
type Output = <i16 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <i16 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for i16 {
type Output = <i16 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i16 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &i16 {
type Output = <i16 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i16 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &i16 {
type Output = <i16 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <i16 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for i16 {
type Output = <i16 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i16 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &i16 {
type Output = <i16 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i16 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &i16 {
type Output = <i16 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <i16 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for i16 {
type Output = <i16 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i16 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &i16 {
type Output = <i16 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i16 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &i16 {
type Output = <i16 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <i16 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for i16 {
type Output = <i16 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i16 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &i16 {
type Output = <i16 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i16 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &i16 {
type Output = <i16 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <i16 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for i16 {
type Output = <i16 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i16 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &i16 {
type Output = <i16 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i16 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &i16 {
type Output = <i16 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <i16 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for i16 {
type Output = <i16 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i16 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &i16 {
type Output = <i16 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i16 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &i16 {
type Output = <i16 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <i16 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for i16 {
type Output = <i16 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i16 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &i16 {
type Output = <i16 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i16 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> i16 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &i16 {
type Output = <i16 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <i16 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for i16 {
type Output = <i16 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i16 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &i16 {
type Output = <i16 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i16 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &i32 {
type Output = <i32 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <i32 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for i32 {
type Output = <i32 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i32 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &i32 {
type Output = <i32 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i32 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &i32 {
type Output = <i32 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <i32 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for i32 {
type Output = <i32 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i32 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &i32 {
type Output = <i32 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i32 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &i32 {
type Output = <i32 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <i32 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for i32 {
type Output = <i32 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i32 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &i32 {
type Output = <i32 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i32 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &i32 {
type Output = <i32 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <i32 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for i32 {
type Output = <i32 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i32 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &i32 {
type Output = <i32 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i32 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &i32 {
type Output = <i32 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <i32 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for i32 {
type Output = <i32 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i32 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &i32 {
type Output = <i32 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i32 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &i32 {
type Output = <i32 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <i32 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for i32 {
type Output = <i32 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i32 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &i32 {
type Output = <i32 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i32 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &i32 {
type Output = <i32 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <i32 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for i32 {
type Output = <i32 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i32 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &i32 {
type Output = <i32 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i32 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &i32 {
type Output = <i32 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <i32 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for i32 {
type Output = <i32 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i32 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &i32 {
type Output = <i32 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i32 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &i32 {
type Output = <i32 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <i32 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for i32 {
type Output = <i32 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i32 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &i32 {
type Output = <i32 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i32 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &i32 {
type Output = <i32 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <i32 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for i32 {
type Output = <i32 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i32 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &i32 {
type Output = <i32 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i32 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &i32 {
type Output = <i32 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <i32 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for i32 {
type Output = <i32 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i32 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &i32 {
type Output = <i32 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i32 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> i32 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &i32 {
type Output = <i32 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <i32 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for i32 {
type Output = <i32 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i32 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &i32 {
type Output = <i32 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i32 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &i64 {
type Output = <i64 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <i64 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for i64 {
type Output = <i64 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i64 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &i64 {
type Output = <i64 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i64 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &i64 {
type Output = <i64 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <i64 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for i64 {
type Output = <i64 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i64 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &i64 {
type Output = <i64 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i64 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &i64 {
type Output = <i64 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <i64 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for i64 {
type Output = <i64 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i64 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &i64 {
type Output = <i64 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i64 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &i64 {
type Output = <i64 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <i64 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for i64 {
type Output = <i64 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i64 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &i64 {
type Output = <i64 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i64 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &i64 {
type Output = <i64 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <i64 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for i64 {
type Output = <i64 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i64 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &i64 {
type Output = <i64 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i64 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &i64 {
type Output = <i64 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <i64 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for i64 {
type Output = <i64 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i64 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &i64 {
type Output = <i64 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i64 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &i64 {
type Output = <i64 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <i64 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for i64 {
type Output = <i64 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i64 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &i64 {
type Output = <i64 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i64 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &i64 {
type Output = <i64 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <i64 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for i64 {
type Output = <i64 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i64 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &i64 {
type Output = <i64 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i64 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &i64 {
type Output = <i64 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <i64 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for i64 {
type Output = <i64 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i64 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &i64 {
type Output = <i64 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i64 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &i64 {
type Output = <i64 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <i64 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for i64 {
type Output = <i64 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i64 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &i64 {
type Output = <i64 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i64 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &i64 {
type Output = <i64 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <i64 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for i64 {
type Output = <i64 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i64 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &i64 {
type Output = <i64 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i64 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> i64 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &i64 {
type Output = <i64 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <i64 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for i64 {
type Output = <i64 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i64 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &i64 {
type Output = <i64 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i64 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &i128 {
type Output = <i128 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <i128 as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for i128 {
type Output = <i128 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i128 as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &i128 {
type Output = <i128 as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <i128 as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &i128 {
type Output = <i128 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <i128 as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for i128 {
type Output = <i128 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i128 as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &i128 {
type Output = <i128 as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <i128 as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &i128 {
type Output = <i128 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <i128 as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for i128 {
type Output = <i128 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i128 as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &i128 {
type Output = <i128 as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <i128 as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &i128 {
type Output = <i128 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <i128 as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for i128 {
type Output = <i128 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i128 as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &i128 {
type Output = <i128 as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <i128 as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &i128 {
type Output = <i128 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <i128 as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for i128 {
type Output = <i128 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i128 as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &i128 {
type Output = <i128 as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <i128 as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &i128 {
type Output = <i128 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <i128 as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for i128 {
type Output = <i128 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i128 as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &i128 {
type Output = <i128 as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <i128 as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &i128 {
type Output = <i128 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <i128 as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for i128 {
type Output = <i128 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i128 as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &i128 {
type Output = <i128 as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <i128 as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &i128 {
type Output = <i128 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <i128 as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for i128 {
type Output = <i128 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i128 as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &i128 {
type Output = <i128 as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <i128 as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &i128 {
type Output = <i128 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <i128 as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for i128 {
type Output = <i128 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i128 as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &i128 {
type Output = <i128 as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <i128 as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &i128 {
type Output = <i128 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <i128 as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for i128 {
type Output = <i128 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i128 as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &i128 {
type Output = <i128 as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <i128 as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &i128 {
type Output = <i128 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <i128 as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for i128 {
type Output = <i128 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i128 as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &i128 {
type Output = <i128 as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <i128 as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> i128 { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &i128 {
type Output = <i128 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <i128 as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for i128 {
type Output = <i128 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i128 as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &i128 {
type Output = <i128 as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <i128 as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u8) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u8> for &isize {
type Output = <isize as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u8) -> <isize as Shl<u8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for isize {
type Output = <isize as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <isize as Shl<u8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u8> for &isize {
type Output = <isize as Shl<u8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u8) -> <isize as Shl<u8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u16) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u16> for &isize {
type Output = <isize as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u16) -> <isize as Shl<u16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for isize {
type Output = <isize as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <isize as Shl<u16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u16> for &isize {
type Output = <isize as Shl<u16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u16) -> <isize as Shl<u16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u32) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u32> for &isize {
type Output = <isize as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u32) -> <isize as Shl<u32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for isize {
type Output = <isize as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <isize as Shl<u32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u32> for &isize {
type Output = <isize as Shl<u32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u32) -> <isize as Shl<u32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u64) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u64> for &isize {
type Output = <isize as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u64) -> <isize as Shl<u64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for isize {
type Output = <isize as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <isize as Shl<u64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u64> for &isize {
type Output = <isize as Shl<u64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u64) -> <isize as Shl<u64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: u128) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<u128> for &isize {
type Output = <isize as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: u128) -> <isize as Shl<u128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for isize {
type Output = <isize as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <isize as Shl<u128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&u128> for &isize {
type Output = <isize as Shl<u128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &u128) -> <isize as Shl<u128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: usize) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<usize> for &isize {
type Output = <isize as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: usize) -> <isize as Shl<usize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for isize {
type Output = <isize as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <isize as Shl<usize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&usize> for &isize {
type Output = <isize as Shl<usize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &usize) -> <isize as Shl<usize>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i8) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i8> for &isize {
type Output = <isize as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i8) -> <isize as Shl<i8>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for isize {
type Output = <isize as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <isize as Shl<i8>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i8> for &isize {
type Output = <isize as Shl<i8>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i8) -> <isize as Shl<i8>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i16) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i16> for &isize {
type Output = <isize as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i16) -> <isize as Shl<i16>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for isize {
type Output = <isize as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <isize as Shl<i16>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i16> for &isize {
type Output = <isize as Shl<i16>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i16) -> <isize as Shl<i16>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i32) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i32> for &isize {
type Output = <isize as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i32) -> <isize as Shl<i32>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for isize {
type Output = <isize as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <isize as Shl<i32>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i32> for &isize {
type Output = <isize as Shl<i32>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i32) -> <isize as Shl<i32>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i64) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i64> for &isize {
type Output = <isize as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i64) -> <isize as Shl<i64>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for isize {
type Output = <isize as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <isize as Shl<i64>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i64> for &isize {
type Output = <isize as Shl<i64>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i64) -> <isize as Shl<i64>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: i128) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<i128> for &isize {
type Output = <isize as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: i128) -> <isize as Shl<i128>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for isize {
type Output = <isize as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <isize as Shl<i128>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&i128> for &isize {
type Output = <isize as Shl<i128>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &i128) -> <isize as Shl<i128>>::Output {
Shl::shl(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl(self, other: isize) -> isize { self << other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<isize> for &isize {
type Output = <isize as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: isize) -> <isize as Shl<isize>>::Output {
Shl::shl(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for isize {
type Output = <isize as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <isize as Shl<isize>>::Output {
Shl::shl(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shl<&isize> for &isize {
type Output = <isize as Shl<isize>>::Output;
#[inline]
#[track_caller]
fn shl(self, other: &isize) -> <isize as Shl<isize>>::Output {
Shl::shl(*self, *other)
}
}shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
528
529#[lang = "shr"]
586#[doc(alias = ">>")]
587#[stable(feature = "rust1", since = "1.0.0")]
588#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
589#[diagnostic::on_unimplemented(
590 message = "no implementation for `{Self} >> {Rhs}`",
591 label = "no implementation for `{Self} >> {Rhs}`"
592)]
593pub const trait Shr<Rhs = Self> {
594 #[stable(feature = "rust1", since = "1.0.0")]
596 type Output;
597
598 #[must_use]
607 #[stable(feature = "rust1", since = "1.0.0")]
608 fn shr(self, rhs: Rhs) -> Self::Output;
609}
610
611macro_rules! shr_impl {
612 ($t:ty, $f:ty) => {
613 #[stable(feature = "rust1", since = "1.0.0")]
614 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
615 const impl Shr<$f> for $t {
616 type Output = $t;
617
618 #[inline]
619 #[track_caller]
620 #[rustc_inherit_overflow_checks]
621 fn shr(self, other: $f) -> $t {
622 self >> other
623 }
624 }
625
626 forward_ref_binop! { impl Shr, shr for $t, $f,
627 #[stable(feature = "rust1", since = "1.0.0")]
628 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
629 };
630}
631
632macro_rules! shr_impl_all {
633 ($($t:ty)*) => ($(
634 shr_impl! { $t, u8 }
635 shr_impl! { $t, u16 }
636 shr_impl! { $t, u32 }
637 shr_impl! { $t, u64 }
638 shr_impl! { $t, u128 }
639 shr_impl! { $t, usize }
640
641 shr_impl! { $t, i8 }
642 shr_impl! { $t, i16 }
643 shr_impl! { $t, i32 }
644 shr_impl! { $t, i64 }
645 shr_impl! { $t, i128 }
646 shr_impl! { $t, isize }
647 )*)
648}
649
650#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &u8 {
type Output = <u8 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <u8 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for u8 {
type Output = <u8 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u8 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &u8 {
type Output = <u8 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u8 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &u8 {
type Output = <u8 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <u8 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for u8 {
type Output = <u8 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u8 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &u8 {
type Output = <u8 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u8 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &u8 {
type Output = <u8 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <u8 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for u8 {
type Output = <u8 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u8 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &u8 {
type Output = <u8 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u8 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &u8 {
type Output = <u8 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <u8 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for u8 {
type Output = <u8 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u8 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &u8 {
type Output = <u8 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u8 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &u8 {
type Output = <u8 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <u8 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for u8 {
type Output = <u8 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u8 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &u8 {
type Output = <u8 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u8 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &u8 {
type Output = <u8 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <u8 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for u8 {
type Output = <u8 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u8 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &u8 {
type Output = <u8 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u8 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &u8 {
type Output = <u8 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <u8 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for u8 {
type Output = <u8 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u8 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &u8 {
type Output = <u8 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u8 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &u8 {
type Output = <u8 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <u8 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for u8 {
type Output = <u8 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u8 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &u8 {
type Output = <u8 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u8 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &u8 {
type Output = <u8 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <u8 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for u8 {
type Output = <u8 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u8 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &u8 {
type Output = <u8 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u8 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &u8 {
type Output = <u8 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <u8 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for u8 {
type Output = <u8 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u8 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &u8 {
type Output = <u8 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u8 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &u8 {
type Output = <u8 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <u8 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for u8 {
type Output = <u8 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u8 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &u8 {
type Output = <u8 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u8 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for u8 {
type Output = u8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> u8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &u8 {
type Output = <u8 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <u8 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for u8 {
type Output = <u8 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u8 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &u8 {
type Output = <u8 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u8 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &u16 {
type Output = <u16 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <u16 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for u16 {
type Output = <u16 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u16 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &u16 {
type Output = <u16 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u16 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &u16 {
type Output = <u16 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <u16 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for u16 {
type Output = <u16 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u16 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &u16 {
type Output = <u16 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u16 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &u16 {
type Output = <u16 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <u16 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for u16 {
type Output = <u16 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u16 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &u16 {
type Output = <u16 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u16 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &u16 {
type Output = <u16 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <u16 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for u16 {
type Output = <u16 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u16 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &u16 {
type Output = <u16 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u16 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &u16 {
type Output = <u16 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <u16 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for u16 {
type Output = <u16 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u16 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &u16 {
type Output = <u16 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u16 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &u16 {
type Output = <u16 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <u16 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for u16 {
type Output = <u16 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u16 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &u16 {
type Output = <u16 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u16 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &u16 {
type Output = <u16 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <u16 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for u16 {
type Output = <u16 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u16 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &u16 {
type Output = <u16 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u16 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &u16 {
type Output = <u16 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <u16 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for u16 {
type Output = <u16 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u16 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &u16 {
type Output = <u16 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u16 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &u16 {
type Output = <u16 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <u16 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for u16 {
type Output = <u16 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u16 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &u16 {
type Output = <u16 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u16 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &u16 {
type Output = <u16 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <u16 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for u16 {
type Output = <u16 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u16 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &u16 {
type Output = <u16 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u16 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &u16 {
type Output = <u16 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <u16 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for u16 {
type Output = <u16 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u16 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &u16 {
type Output = <u16 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u16 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for u16 {
type Output = u16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> u16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &u16 {
type Output = <u16 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <u16 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for u16 {
type Output = <u16 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u16 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &u16 {
type Output = <u16 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u16 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &u32 {
type Output = <u32 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <u32 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for u32 {
type Output = <u32 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &u32 {
type Output = <u32 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &u32 {
type Output = <u32 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <u32 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for u32 {
type Output = <u32 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &u32 {
type Output = <u32 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &u32 {
type Output = <u32 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <u32 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for u32 {
type Output = <u32 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u32 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &u32 {
type Output = <u32 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u32 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &u32 {
type Output = <u32 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <u32 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for u32 {
type Output = <u32 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &u32 {
type Output = <u32 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &u32 {
type Output = <u32 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <u32 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for u32 {
type Output = <u32 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &u32 {
type Output = <u32 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &u32 {
type Output = <u32 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <u32 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for u32 {
type Output = <u32 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &u32 {
type Output = <u32 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &u32 {
type Output = <u32 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <u32 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for u32 {
type Output = <u32 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &u32 {
type Output = <u32 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &u32 {
type Output = <u32 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <u32 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for u32 {
type Output = <u32 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &u32 {
type Output = <u32 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &u32 {
type Output = <u32 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <u32 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for u32 {
type Output = <u32 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &u32 {
type Output = <u32 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &u32 {
type Output = <u32 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <u32 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for u32 {
type Output = <u32 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &u32 {
type Output = <u32 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &u32 {
type Output = <u32 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <u32 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for u32 {
type Output = <u32 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &u32 {
type Output = <u32 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for u32 {
type Output = u32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> u32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &u32 {
type Output = <u32 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <u32 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for u32 {
type Output = <u32 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &u32 {
type Output = <u32 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &u64 {
type Output = <u64 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <u64 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for u64 {
type Output = <u64 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u64 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &u64 {
type Output = <u64 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u64 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &u64 {
type Output = <u64 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <u64 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for u64 {
type Output = <u64 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u64 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &u64 {
type Output = <u64 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u64 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &u64 {
type Output = <u64 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <u64 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for u64 {
type Output = <u64 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u64 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &u64 {
type Output = <u64 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u64 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &u64 {
type Output = <u64 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <u64 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for u64 {
type Output = <u64 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u64 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &u64 {
type Output = <u64 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u64 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &u64 {
type Output = <u64 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <u64 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for u64 {
type Output = <u64 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u64 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &u64 {
type Output = <u64 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u64 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &u64 {
type Output = <u64 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <u64 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for u64 {
type Output = <u64 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u64 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &u64 {
type Output = <u64 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u64 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &u64 {
type Output = <u64 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <u64 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for u64 {
type Output = <u64 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u64 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &u64 {
type Output = <u64 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u64 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &u64 {
type Output = <u64 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <u64 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for u64 {
type Output = <u64 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u64 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &u64 {
type Output = <u64 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u64 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &u64 {
type Output = <u64 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <u64 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for u64 {
type Output = <u64 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u64 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &u64 {
type Output = <u64 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u64 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &u64 {
type Output = <u64 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <u64 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for u64 {
type Output = <u64 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u64 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &u64 {
type Output = <u64 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u64 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &u64 {
type Output = <u64 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <u64 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for u64 {
type Output = <u64 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u64 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &u64 {
type Output = <u64 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u64 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for u64 {
type Output = u64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> u64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &u64 {
type Output = <u64 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <u64 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for u64 {
type Output = <u64 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u64 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &u64 {
type Output = <u64 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u64 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &u128 {
type Output = <u128 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <u128 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for u128 {
type Output = <u128 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u128 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &u128 {
type Output = <u128 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <u128 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &u128 {
type Output = <u128 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <u128 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for u128 {
type Output = <u128 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u128 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &u128 {
type Output = <u128 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <u128 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &u128 {
type Output = <u128 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <u128 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for u128 {
type Output = <u128 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u128 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &u128 {
type Output = <u128 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <u128 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &u128 {
type Output = <u128 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <u128 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for u128 {
type Output = <u128 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u128 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &u128 {
type Output = <u128 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <u128 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &u128 {
type Output = <u128 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <u128 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for u128 {
type Output = <u128 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u128 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &u128 {
type Output = <u128 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <u128 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &u128 {
type Output = <u128 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <u128 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for u128 {
type Output = <u128 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u128 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &u128 {
type Output = <u128 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <u128 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &u128 {
type Output = <u128 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <u128 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for u128 {
type Output = <u128 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u128 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &u128 {
type Output = <u128 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <u128 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &u128 {
type Output = <u128 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <u128 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for u128 {
type Output = <u128 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u128 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &u128 {
type Output = <u128 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <u128 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &u128 {
type Output = <u128 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <u128 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for u128 {
type Output = <u128 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u128 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &u128 {
type Output = <u128 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <u128 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &u128 {
type Output = <u128 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <u128 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for u128 {
type Output = <u128 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u128 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &u128 {
type Output = <u128 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <u128 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &u128 {
type Output = <u128 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <u128 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for u128 {
type Output = <u128 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u128 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &u128 {
type Output = <u128 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <u128 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for u128 {
type Output = u128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> u128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &u128 {
type Output = <u128 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <u128 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for u128 {
type Output = <u128 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u128 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &u128 {
type Output = <u128 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <u128 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &usize {
type Output = <usize as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <usize as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for usize {
type Output = <usize as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <usize as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &usize {
type Output = <usize as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <usize as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &usize {
type Output = <usize as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <usize as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for usize {
type Output = <usize as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <usize as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &usize {
type Output = <usize as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <usize as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &usize {
type Output = <usize as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <usize as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for usize {
type Output = <usize as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <usize as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &usize {
type Output = <usize as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <usize as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &usize {
type Output = <usize as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <usize as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for usize {
type Output = <usize as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <usize as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &usize {
type Output = <usize as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <usize as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &usize {
type Output = <usize as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <usize as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for usize {
type Output = <usize as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <usize as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &usize {
type Output = <usize as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <usize as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &usize {
type Output = <usize as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <usize as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for usize {
type Output = <usize as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <usize as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &usize {
type Output = <usize as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <usize as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &usize {
type Output = <usize as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <usize as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for usize {
type Output = <usize as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <usize as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &usize {
type Output = <usize as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <usize as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &usize {
type Output = <usize as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <usize as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for usize {
type Output = <usize as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <usize as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &usize {
type Output = <usize as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <usize as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &usize {
type Output = <usize as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <usize as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for usize {
type Output = <usize as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <usize as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &usize {
type Output = <usize as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <usize as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &usize {
type Output = <usize as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <usize as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for usize {
type Output = <usize as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <usize as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &usize {
type Output = <usize as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <usize as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &usize {
type Output = <usize as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <usize as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for usize {
type Output = <usize as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <usize as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &usize {
type Output = <usize as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <usize as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for usize {
type Output = usize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> usize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &usize {
type Output = <usize as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <usize as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for usize {
type Output = <usize as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <usize as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &usize {
type Output = <usize as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <usize as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &i8 {
type Output = <i8 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <i8 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for i8 {
type Output = <i8 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i8 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &i8 {
type Output = <i8 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i8 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &i8 {
type Output = <i8 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <i8 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for i8 {
type Output = <i8 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i8 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &i8 {
type Output = <i8 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i8 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &i8 {
type Output = <i8 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <i8 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for i8 {
type Output = <i8 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i8 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &i8 {
type Output = <i8 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i8 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &i8 {
type Output = <i8 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <i8 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for i8 {
type Output = <i8 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i8 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &i8 {
type Output = <i8 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i8 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &i8 {
type Output = <i8 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <i8 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for i8 {
type Output = <i8 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i8 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &i8 {
type Output = <i8 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i8 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &i8 {
type Output = <i8 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <i8 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for i8 {
type Output = <i8 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i8 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &i8 {
type Output = <i8 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i8 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &i8 {
type Output = <i8 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <i8 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for i8 {
type Output = <i8 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i8 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &i8 {
type Output = <i8 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i8 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &i8 {
type Output = <i8 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <i8 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for i8 {
type Output = <i8 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i8 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &i8 {
type Output = <i8 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i8 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &i8 {
type Output = <i8 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <i8 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for i8 {
type Output = <i8 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i8 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &i8 {
type Output = <i8 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i8 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &i8 {
type Output = <i8 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <i8 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for i8 {
type Output = <i8 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i8 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &i8 {
type Output = <i8 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i8 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &i8 {
type Output = <i8 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <i8 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for i8 {
type Output = <i8 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i8 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &i8 {
type Output = <i8 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i8 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for i8 {
type Output = i8;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> i8 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &i8 {
type Output = <i8 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <i8 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for i8 {
type Output = <i8 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i8 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &i8 {
type Output = <i8 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i8 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &i16 {
type Output = <i16 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <i16 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for i16 {
type Output = <i16 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i16 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &i16 {
type Output = <i16 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i16 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &i16 {
type Output = <i16 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <i16 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for i16 {
type Output = <i16 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i16 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &i16 {
type Output = <i16 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i16 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &i16 {
type Output = <i16 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <i16 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for i16 {
type Output = <i16 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i16 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &i16 {
type Output = <i16 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i16 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &i16 {
type Output = <i16 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <i16 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for i16 {
type Output = <i16 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i16 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &i16 {
type Output = <i16 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i16 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &i16 {
type Output = <i16 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <i16 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for i16 {
type Output = <i16 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i16 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &i16 {
type Output = <i16 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i16 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &i16 {
type Output = <i16 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <i16 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for i16 {
type Output = <i16 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i16 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &i16 {
type Output = <i16 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i16 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &i16 {
type Output = <i16 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <i16 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for i16 {
type Output = <i16 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i16 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &i16 {
type Output = <i16 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i16 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &i16 {
type Output = <i16 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <i16 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for i16 {
type Output = <i16 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i16 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &i16 {
type Output = <i16 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i16 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &i16 {
type Output = <i16 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <i16 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for i16 {
type Output = <i16 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i16 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &i16 {
type Output = <i16 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i16 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &i16 {
type Output = <i16 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <i16 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for i16 {
type Output = <i16 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i16 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &i16 {
type Output = <i16 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i16 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &i16 {
type Output = <i16 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <i16 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for i16 {
type Output = <i16 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i16 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &i16 {
type Output = <i16 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i16 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for i16 {
type Output = i16;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> i16 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &i16 {
type Output = <i16 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <i16 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for i16 {
type Output = <i16 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i16 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &i16 {
type Output = <i16 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i16 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &i32 {
type Output = <i32 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <i32 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for i32 {
type Output = <i32 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i32 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &i32 {
type Output = <i32 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i32 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &i32 {
type Output = <i32 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <i32 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for i32 {
type Output = <i32 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i32 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &i32 {
type Output = <i32 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i32 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &i32 {
type Output = <i32 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <i32 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for i32 {
type Output = <i32 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i32 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &i32 {
type Output = <i32 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i32 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &i32 {
type Output = <i32 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <i32 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for i32 {
type Output = <i32 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i32 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &i32 {
type Output = <i32 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i32 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &i32 {
type Output = <i32 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <i32 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for i32 {
type Output = <i32 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i32 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &i32 {
type Output = <i32 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i32 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &i32 {
type Output = <i32 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <i32 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for i32 {
type Output = <i32 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i32 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &i32 {
type Output = <i32 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i32 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &i32 {
type Output = <i32 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <i32 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for i32 {
type Output = <i32 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i32 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &i32 {
type Output = <i32 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i32 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &i32 {
type Output = <i32 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <i32 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for i32 {
type Output = <i32 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i32 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &i32 {
type Output = <i32 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i32 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &i32 {
type Output = <i32 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <i32 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for i32 {
type Output = <i32 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i32 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &i32 {
type Output = <i32 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i32 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &i32 {
type Output = <i32 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <i32 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for i32 {
type Output = <i32 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i32 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &i32 {
type Output = <i32 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i32 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &i32 {
type Output = <i32 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <i32 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for i32 {
type Output = <i32 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i32 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &i32 {
type Output = <i32 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i32 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for i32 {
type Output = i32;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> i32 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &i32 {
type Output = <i32 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <i32 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for i32 {
type Output = <i32 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i32 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &i32 {
type Output = <i32 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i32 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &i64 {
type Output = <i64 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <i64 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for i64 {
type Output = <i64 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i64 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &i64 {
type Output = <i64 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i64 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &i64 {
type Output = <i64 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <i64 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for i64 {
type Output = <i64 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i64 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &i64 {
type Output = <i64 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i64 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &i64 {
type Output = <i64 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <i64 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for i64 {
type Output = <i64 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i64 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &i64 {
type Output = <i64 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i64 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &i64 {
type Output = <i64 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <i64 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for i64 {
type Output = <i64 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i64 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &i64 {
type Output = <i64 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i64 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &i64 {
type Output = <i64 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <i64 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for i64 {
type Output = <i64 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i64 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &i64 {
type Output = <i64 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i64 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &i64 {
type Output = <i64 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <i64 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for i64 {
type Output = <i64 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i64 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &i64 {
type Output = <i64 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i64 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &i64 {
type Output = <i64 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <i64 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for i64 {
type Output = <i64 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i64 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &i64 {
type Output = <i64 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i64 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &i64 {
type Output = <i64 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <i64 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for i64 {
type Output = <i64 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i64 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &i64 {
type Output = <i64 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i64 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &i64 {
type Output = <i64 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <i64 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for i64 {
type Output = <i64 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i64 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &i64 {
type Output = <i64 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i64 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &i64 {
type Output = <i64 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <i64 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for i64 {
type Output = <i64 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i64 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &i64 {
type Output = <i64 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i64 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &i64 {
type Output = <i64 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <i64 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for i64 {
type Output = <i64 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i64 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &i64 {
type Output = <i64 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i64 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for i64 {
type Output = i64;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> i64 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &i64 {
type Output = <i64 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <i64 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for i64 {
type Output = <i64 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i64 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &i64 {
type Output = <i64 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i64 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &i128 {
type Output = <i128 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <i128 as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for i128 {
type Output = <i128 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i128 as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &i128 {
type Output = <i128 as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <i128 as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &i128 {
type Output = <i128 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <i128 as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for i128 {
type Output = <i128 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i128 as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &i128 {
type Output = <i128 as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <i128 as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &i128 {
type Output = <i128 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <i128 as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for i128 {
type Output = <i128 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i128 as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &i128 {
type Output = <i128 as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <i128 as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &i128 {
type Output = <i128 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <i128 as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for i128 {
type Output = <i128 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i128 as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &i128 {
type Output = <i128 as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <i128 as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &i128 {
type Output = <i128 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <i128 as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for i128 {
type Output = <i128 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i128 as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &i128 {
type Output = <i128 as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <i128 as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &i128 {
type Output = <i128 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <i128 as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for i128 {
type Output = <i128 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i128 as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &i128 {
type Output = <i128 as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <i128 as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &i128 {
type Output = <i128 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <i128 as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for i128 {
type Output = <i128 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i128 as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &i128 {
type Output = <i128 as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <i128 as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &i128 {
type Output = <i128 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <i128 as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for i128 {
type Output = <i128 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i128 as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &i128 {
type Output = <i128 as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <i128 as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &i128 {
type Output = <i128 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <i128 as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for i128 {
type Output = <i128 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i128 as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &i128 {
type Output = <i128 as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <i128 as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &i128 {
type Output = <i128 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <i128 as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for i128 {
type Output = <i128 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i128 as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &i128 {
type Output = <i128 as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <i128 as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &i128 {
type Output = <i128 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <i128 as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for i128 {
type Output = <i128 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i128 as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &i128 {
type Output = <i128 as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <i128 as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for i128 {
type Output = i128;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> i128 { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &i128 {
type Output = <i128 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <i128 as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for i128 {
type Output = <i128 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i128 as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &i128 {
type Output = <i128 as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <i128 as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u8) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u8> for &isize {
type Output = <isize as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u8) -> <isize as Shr<u8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for isize {
type Output = <isize as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <isize as Shr<u8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u8> for &isize {
type Output = <isize as Shr<u8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u8) -> <isize as Shr<u8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u16) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u16> for &isize {
type Output = <isize as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u16) -> <isize as Shr<u16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for isize {
type Output = <isize as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <isize as Shr<u16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u16> for &isize {
type Output = <isize as Shr<u16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u16) -> <isize as Shr<u16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u32) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u32> for &isize {
type Output = <isize as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u32) -> <isize as Shr<u32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for isize {
type Output = <isize as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <isize as Shr<u32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u32> for &isize {
type Output = <isize as Shr<u32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u32) -> <isize as Shr<u32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u64) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u64> for &isize {
type Output = <isize as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u64) -> <isize as Shr<u64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for isize {
type Output = <isize as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <isize as Shr<u64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u64> for &isize {
type Output = <isize as Shr<u64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u64) -> <isize as Shr<u64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: u128) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<u128> for &isize {
type Output = <isize as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: u128) -> <isize as Shr<u128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for isize {
type Output = <isize as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <isize as Shr<u128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&u128> for &isize {
type Output = <isize as Shr<u128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &u128) -> <isize as Shr<u128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: usize) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<usize> for &isize {
type Output = <isize as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: usize) -> <isize as Shr<usize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for isize {
type Output = <isize as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <isize as Shr<usize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&usize> for &isize {
type Output = <isize as Shr<usize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &usize) -> <isize as Shr<usize>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i8) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i8> for &isize {
type Output = <isize as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i8) -> <isize as Shr<i8>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for isize {
type Output = <isize as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <isize as Shr<i8>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i8> for &isize {
type Output = <isize as Shr<i8>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i8) -> <isize as Shr<i8>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i16) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i16> for &isize {
type Output = <isize as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i16) -> <isize as Shr<i16>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for isize {
type Output = <isize as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <isize as Shr<i16>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i16> for &isize {
type Output = <isize as Shr<i16>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i16) -> <isize as Shr<i16>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i32) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i32> for &isize {
type Output = <isize as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i32) -> <isize as Shr<i32>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for isize {
type Output = <isize as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <isize as Shr<i32>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i32> for &isize {
type Output = <isize as Shr<i32>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i32) -> <isize as Shr<i32>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i64) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i64> for &isize {
type Output = <isize as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i64) -> <isize as Shr<i64>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for isize {
type Output = <isize as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <isize as Shr<i64>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i64> for &isize {
type Output = <isize as Shr<i64>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i64) -> <isize as Shr<i64>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: i128) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<i128> for &isize {
type Output = <isize as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: i128) -> <isize as Shr<i128>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for isize {
type Output = <isize as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <isize as Shr<i128>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&i128> for &isize {
type Output = <isize as Shr<i128>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &i128) -> <isize as Shr<i128>>::Output {
Shr::shr(*self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for isize {
type Output = isize;
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr(self, other: isize) -> isize { self >> other }
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<isize> for &isize {
type Output = <isize as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: isize) -> <isize as Shr<isize>>::Output {
Shr::shr(*self, other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for isize {
type Output = <isize as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <isize as Shr<isize>>::Output {
Shr::shr(self, *other)
}
}
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl Shr<&isize> for &isize {
type Output = <isize as Shr<isize>>::Output;
#[inline]
#[track_caller]
fn shr(self, other: &isize) -> <isize as Shr<isize>>::Output {
Shr::shr(*self, *other)
}
}shr_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
651
652#[lang = "bitand_assign"]
718#[doc(alias = "&=")]
719#[stable(feature = "op_assign_traits", since = "1.8.0")]
720#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
721#[diagnostic::on_unimplemented(
722 message = "no implementation for `{Self} &= {Rhs}`",
723 label = "no implementation for `{Self} &= {Rhs}`"
724)]
725pub const trait BitAndAssign<Rhs = Self> {
726 #[stable(feature = "op_assign_traits", since = "1.8.0")]
748 fn bitand_assign(&mut self, rhs: Rhs);
749}
750
751macro_rules! bitand_assign_impl {
752 ($($t:ty)+) => ($(
753 #[stable(feature = "op_assign_traits", since = "1.8.0")]
754 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
755 const impl BitAndAssign for $t {
756 #[inline]
757 fn bitand_assign(&mut self, other: $t) { *self &= other }
758 }
759
760 forward_ref_op_assign! { impl BitAndAssign, bitand_assign for $t, $t,
761 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
762 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
763 )+)
764}
765
766#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for bool {
#[inline]
fn bitand_assign(&mut self, other: bool) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&bool> for bool {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &bool) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for usize {
#[inline]
fn bitand_assign(&mut self, other: usize) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&usize> for usize {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &usize) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for u8 {
#[inline]
fn bitand_assign(&mut self, other: u8) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&u8> for u8 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &u8) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for u16 {
#[inline]
fn bitand_assign(&mut self, other: u16) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&u16> for u16 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &u16) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for u32 {
#[inline]
fn bitand_assign(&mut self, other: u32) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&u32> for u32 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &u32) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for u64 {
#[inline]
fn bitand_assign(&mut self, other: u64) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&u64> for u64 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &u64) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for u128 {
#[inline]
fn bitand_assign(&mut self, other: u128) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&u128> for u128 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &u128) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for isize {
#[inline]
fn bitand_assign(&mut self, other: isize) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&isize> for isize {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &isize) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for i8 {
#[inline]
fn bitand_assign(&mut self, other: i8) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&i8> for i8 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &i8) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for i16 {
#[inline]
fn bitand_assign(&mut self, other: i16) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&i16> for i16 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &i16) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for i32 {
#[inline]
fn bitand_assign(&mut self, other: i32) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&i32> for i32 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &i32) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for i64 {
#[inline]
fn bitand_assign(&mut self, other: i64) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&i64> for i64 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &i64) {
BitAndAssign::bitand_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign for i128 {
#[inline]
fn bitand_assign(&mut self, other: i128) { *self &= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitAndAssign<&i128> for i128 {
#[inline]
#[track_caller]
fn bitand_assign(&mut self, other: &i128) {
BitAndAssign::bitand_assign(self, *other);
}
}bitand_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
767
768#[lang = "bitor_assign"]
793#[doc(alias = "|=")]
794#[stable(feature = "op_assign_traits", since = "1.8.0")]
795#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
796#[diagnostic::on_unimplemented(
797 message = "no implementation for `{Self} |= {Rhs}`",
798 label = "no implementation for `{Self} |= {Rhs}`"
799)]
800pub const trait BitOrAssign<Rhs = Self> {
801 #[stable(feature = "op_assign_traits", since = "1.8.0")]
823 fn bitor_assign(&mut self, rhs: Rhs);
824}
825
826macro_rules! bitor_assign_impl {
827 ($($t:ty)+) => ($(
828 #[stable(feature = "op_assign_traits", since = "1.8.0")]
829 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
830 const impl BitOrAssign for $t {
831 #[inline]
832 fn bitor_assign(&mut self, other: $t) { *self |= other }
833 }
834
835 forward_ref_op_assign! { impl BitOrAssign, bitor_assign for $t, $t,
836 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
837 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
838 )+)
839}
840
841#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for bool {
#[inline]
fn bitor_assign(&mut self, other: bool) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&bool> for bool {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &bool) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for usize {
#[inline]
fn bitor_assign(&mut self, other: usize) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&usize> for usize {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &usize) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for u8 {
#[inline]
fn bitor_assign(&mut self, other: u8) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&u8> for u8 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &u8) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for u16 {
#[inline]
fn bitor_assign(&mut self, other: u16) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&u16> for u16 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &u16) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for u32 {
#[inline]
fn bitor_assign(&mut self, other: u32) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&u32> for u32 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &u32) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for u64 {
#[inline]
fn bitor_assign(&mut self, other: u64) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&u64> for u64 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &u64) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for u128 {
#[inline]
fn bitor_assign(&mut self, other: u128) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&u128> for u128 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &u128) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for isize {
#[inline]
fn bitor_assign(&mut self, other: isize) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&isize> for isize {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &isize) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for i8 {
#[inline]
fn bitor_assign(&mut self, other: i8) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&i8> for i8 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &i8) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for i16 {
#[inline]
fn bitor_assign(&mut self, other: i16) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&i16> for i16 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &i16) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for i32 {
#[inline]
fn bitor_assign(&mut self, other: i32) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&i32> for i32 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &i32) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for i64 {
#[inline]
fn bitor_assign(&mut self, other: i64) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&i64> for i64 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &i64) {
BitOrAssign::bitor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign for i128 {
#[inline]
fn bitor_assign(&mut self, other: i128) { *self |= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitOrAssign<&i128> for i128 {
#[inline]
#[track_caller]
fn bitor_assign(&mut self, other: &i128) {
BitOrAssign::bitor_assign(self, *other);
}
}bitor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
842
843#[lang = "bitxor_assign"]
868#[doc(alias = "^=")]
869#[stable(feature = "op_assign_traits", since = "1.8.0")]
870#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
871#[diagnostic::on_unimplemented(
872 message = "no implementation for `{Self} ^= {Rhs}`",
873 label = "no implementation for `{Self} ^= {Rhs}`"
874)]
875pub const trait BitXorAssign<Rhs = Self> {
876 #[stable(feature = "op_assign_traits", since = "1.8.0")]
898 fn bitxor_assign(&mut self, rhs: Rhs);
899}
900
901macro_rules! bitxor_assign_impl {
902 ($($t:ty)+) => ($(
903 #[stable(feature = "op_assign_traits", since = "1.8.0")]
904 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
905 const impl BitXorAssign for $t {
906 #[inline]
907 fn bitxor_assign(&mut self, other: $t) { *self ^= other }
908 }
909
910 forward_ref_op_assign! { impl BitXorAssign, bitxor_assign for $t, $t,
911 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
912 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
913 )+)
914}
915
916#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for bool {
#[inline]
fn bitxor_assign(&mut self, other: bool) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&bool> for bool {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &bool) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for usize {
#[inline]
fn bitxor_assign(&mut self, other: usize) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&usize> for usize {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &usize) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for u8 {
#[inline]
fn bitxor_assign(&mut self, other: u8) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&u8> for u8 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &u8) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for u16 {
#[inline]
fn bitxor_assign(&mut self, other: u16) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&u16> for u16 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &u16) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for u32 {
#[inline]
fn bitxor_assign(&mut self, other: u32) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&u32> for u32 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &u32) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for u64 {
#[inline]
fn bitxor_assign(&mut self, other: u64) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&u64> for u64 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &u64) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for u128 {
#[inline]
fn bitxor_assign(&mut self, other: u128) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&u128> for u128 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &u128) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for isize {
#[inline]
fn bitxor_assign(&mut self, other: isize) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&isize> for isize {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &isize) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for i8 {
#[inline]
fn bitxor_assign(&mut self, other: i8) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&i8> for i8 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &i8) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for i16 {
#[inline]
fn bitxor_assign(&mut self, other: i16) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&i16> for i16 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &i16) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for i32 {
#[inline]
fn bitxor_assign(&mut self, other: i32) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&i32> for i32 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &i32) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for i64 {
#[inline]
fn bitxor_assign(&mut self, other: i64) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&i64> for i64 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &i64) {
BitXorAssign::bitxor_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign for i128 {
#[inline]
fn bitxor_assign(&mut self, other: i128) { *self ^= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl BitXorAssign<&i128> for i128 {
#[inline]
#[track_caller]
fn bitxor_assign(&mut self, other: &i128) {
BitXorAssign::bitxor_assign(self, *other);
}
}bitxor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
917
918#[lang = "shl_assign"]
941#[doc(alias = "<<=")]
942#[stable(feature = "op_assign_traits", since = "1.8.0")]
943#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
944#[diagnostic::on_unimplemented(
945 message = "no implementation for `{Self} <<= {Rhs}`",
946 label = "no implementation for `{Self} <<= {Rhs}`"
947)]
948pub const trait ShlAssign<Rhs = Self> {
949 #[stable(feature = "op_assign_traits", since = "1.8.0")]
963 fn shl_assign(&mut self, rhs: Rhs);
964}
965
966macro_rules! shl_assign_impl {
967 ($t:ty, $f:ty) => {
968 #[stable(feature = "op_assign_traits", since = "1.8.0")]
969 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
970 const impl ShlAssign<$f> for $t {
971 #[inline]
972 #[track_caller]
973 #[rustc_inherit_overflow_checks]
974 fn shl_assign(&mut self, other: $f) {
975 *self <<= other
976 }
977 }
978
979 forward_ref_op_assign! { impl ShlAssign, shl_assign for $t, $f,
980 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
981 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
982 };
983}
984
985macro_rules! shl_assign_impl_all {
986 ($($t:ty)*) => ($(
987 shl_assign_impl! { $t, u8 }
988 shl_assign_impl! { $t, u16 }
989 shl_assign_impl! { $t, u32 }
990 shl_assign_impl! { $t, u64 }
991 shl_assign_impl! { $t, u128 }
992 shl_assign_impl! { $t, usize }
993
994 shl_assign_impl! { $t, i8 }
995 shl_assign_impl! { $t, i16 }
996 shl_assign_impl! { $t, i32 }
997 shl_assign_impl! { $t, i64 }
998 shl_assign_impl! { $t, i128 }
999 shl_assign_impl! { $t, isize }
1000 )*)
1001}
1002
1003#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for u8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for u16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for u32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for u64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for u128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for usize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for i8 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for i16 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for i32 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for i64 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for i128 {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u8> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u8> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u16> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u16> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u32> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u32> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u64> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u64> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<u128> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: u128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&u128> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &u128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<usize> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: usize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&usize> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &usize) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i8> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i8) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i8> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i8) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i16> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i16) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i16> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i16) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i32> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i32) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i32> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i32) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i64> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i64) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i64> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i64) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<i128> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: i128) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&i128> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &i128) {
ShlAssign::shl_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<isize> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shl_assign(&mut self, other: isize) { *self <<= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShlAssign<&isize> for isize {
#[inline]
#[track_caller]
fn shl_assign(&mut self, other: &isize) {
ShlAssign::shl_assign(self, *other);
}
}shl_assign_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
1004
1005#[lang = "shr_assign"]
1028#[doc(alias = ">>=")]
1029#[stable(feature = "op_assign_traits", since = "1.8.0")]
1030#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
1031#[diagnostic::on_unimplemented(
1032 message = "no implementation for `{Self} >>= {Rhs}`",
1033 label = "no implementation for `{Self} >>= {Rhs}`"
1034)]
1035pub const trait ShrAssign<Rhs = Self> {
1036 #[stable(feature = "op_assign_traits", since = "1.8.0")]
1050 fn shr_assign(&mut self, rhs: Rhs);
1051}
1052
1053macro_rules! shr_assign_impl {
1054 ($t:ty, $f:ty) => {
1055 #[stable(feature = "op_assign_traits", since = "1.8.0")]
1056 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
1057 const impl ShrAssign<$f> for $t {
1058 #[inline]
1059 #[track_caller]
1060 #[rustc_inherit_overflow_checks]
1061 fn shr_assign(&mut self, other: $f) {
1062 *self >>= other
1063 }
1064 }
1065
1066 forward_ref_op_assign! { impl ShrAssign, shr_assign for $t, $f,
1067 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
1068 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
1069 };
1070}
1071
1072macro_rules! shr_assign_impl_all {
1073 ($($t:ty)*) => ($(
1074 shr_assign_impl! { $t, u8 }
1075 shr_assign_impl! { $t, u16 }
1076 shr_assign_impl! { $t, u32 }
1077 shr_assign_impl! { $t, u64 }
1078 shr_assign_impl! { $t, u128 }
1079 shr_assign_impl! { $t, usize }
1080
1081 shr_assign_impl! { $t, i8 }
1082 shr_assign_impl! { $t, i16 }
1083 shr_assign_impl! { $t, i32 }
1084 shr_assign_impl! { $t, i64 }
1085 shr_assign_impl! { $t, i128 }
1086 shr_assign_impl! { $t, isize }
1087 )*)
1088}
1089
1090#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for u8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for u8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for u16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for u16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for u32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for u32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for u64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for u64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for u128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for u128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for usize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for usize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for i8 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for i8 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for i16 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for i16 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for i32 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for i32 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for i64 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for i64 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for i128 {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for i128 {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u8> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u8> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u16> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u16> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u32> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u32> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u64> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u64> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<u128> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: u128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&u128> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &u128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<usize> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: usize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&usize> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &usize) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i8> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i8) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i8> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i8) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i16> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i16) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i16> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i16) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i32> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i32) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i32> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i32) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i64> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i64) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i64> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i64) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<i128> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: i128) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&i128> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &i128) {
ShrAssign::shr_assign(self, *other);
}
}
#[stable(feature = "op_assign_traits", since = "1.8.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<isize> for isize {
#[inline]
#[track_caller]
#[rustc_inherit_overflow_checks]
fn shr_assign(&mut self, other: isize) { *self >>= other }
}
#[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
const impl ShrAssign<&isize> for isize {
#[inline]
#[track_caller]
fn shr_assign(&mut self, other: &isize) {
ShrAssign::shr_assign(self, *other);
}
}shr_assign_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }