1#[lang = "not"]
32#[stable(feature = "rust1", since = "1.0.0")]
33#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
34#[doc(alias = "!")]
35pub const trait Not {
36 #[stable(feature = "rust1", since = "1.0.0")]
38 type Output;
39
40 #[must_use]
51 #[stable(feature = "rust1", since = "1.0.0")]
52 fn not(self) -> Self::Output;
53}
54
55macro_rules! not_impl {
56 ($($t:ty)*) => ($(
57 #[stable(feature = "rust1", since = "1.0.0")]
58 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
59 const impl Not for $t {
60 type Output = $t;
61
62 #[inline]
63 fn not(self) -> $t { !self }
64 }
65
66 forward_ref_unop! { impl Not, not for $t,
67 #[stable(feature = "rust1", since = "1.0.0")]
68 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
69 )*)
70}
71
72#[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 }
73
74#[stable(feature = "not_never", since = "1.60.0")]
75#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
76const impl Not for ! {
77 type Output = !;
78
79 #[inline]
80 fn not(self) -> ! {
81 match self {}
82 }
83}
84
85#[lang = "bitand"]
143#[doc(alias = "&")]
144#[stable(feature = "rust1", since = "1.0.0")]
145#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
146#[diagnostic::on_unimplemented(
147 message = "no implementation for `{Self} & {Rhs}`",
148 label = "no implementation for `{Self} & {Rhs}`"
149)]
150pub const trait BitAnd<Rhs = Self> {
151 #[stable(feature = "rust1", since = "1.0.0")]
153 type Output;
154
155 #[must_use]
166 #[stable(feature = "rust1", since = "1.0.0")]
167 fn bitand(self, rhs: Rhs) -> Self::Output;
168}
169
170macro_rules! bitand_impl {
171 ($($t:ty)*) => ($(
172 #[stable(feature = "rust1", since = "1.0.0")]
173 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
174 const impl BitAnd for $t {
175 type Output = $t;
176
177 #[inline]
178 fn bitand(self, rhs: $t) -> $t { self & rhs }
179 }
180
181 forward_ref_binop! { impl BitAnd, bitand for $t, $t,
182 #[stable(feature = "rust1", since = "1.0.0")]
183 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
184 )*)
185}
186
187#[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 }
188
189#[lang = "bitor"]
247#[doc(alias = "|")]
248#[stable(feature = "rust1", since = "1.0.0")]
249#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
250#[diagnostic::on_unimplemented(
251 message = "no implementation for `{Self} | {Rhs}`",
252 label = "no implementation for `{Self} | {Rhs}`"
253)]
254pub const trait BitOr<Rhs = Self> {
255 #[stable(feature = "rust1", since = "1.0.0")]
257 type Output;
258
259 #[must_use]
270 #[stable(feature = "rust1", since = "1.0.0")]
271 fn bitor(self, rhs: Rhs) -> Self::Output;
272}
273
274macro_rules! bitor_impl {
275 ($($t:ty)*) => ($(
276 #[stable(feature = "rust1", since = "1.0.0")]
277 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
278 const impl BitOr for $t {
279 type Output = $t;
280
281 #[inline]
282 fn bitor(self, rhs: $t) -> $t { self | rhs }
283 }
284
285 forward_ref_binop! { impl BitOr, bitor for $t, $t,
286 #[stable(feature = "rust1", since = "1.0.0")]
287 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
288 )*)
289}
290
291#[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 }
292
293#[lang = "bitxor"]
351#[doc(alias = "^")]
352#[stable(feature = "rust1", since = "1.0.0")]
353#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
354#[diagnostic::on_unimplemented(
355 message = "no implementation for `{Self} ^ {Rhs}`",
356 label = "no implementation for `{Self} ^ {Rhs}`"
357)]
358pub const trait BitXor<Rhs = Self> {
359 #[stable(feature = "rust1", since = "1.0.0")]
361 type Output;
362
363 #[must_use]
374 #[stable(feature = "rust1", since = "1.0.0")]
375 fn bitxor(self, rhs: Rhs) -> Self::Output;
376}
377
378macro_rules! bitxor_impl {
379 ($($t:ty)*) => ($(
380 #[stable(feature = "rust1", since = "1.0.0")]
381 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
382 const impl BitXor for $t {
383 type Output = $t;
384
385 #[inline]
386 fn bitxor(self, other: $t) -> $t { self ^ other }
387 }
388
389 forward_ref_binop! { impl BitXor, bitxor for $t, $t,
390 #[stable(feature = "rust1", since = "1.0.0")]
391 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
392 )*)
393}
394
395#[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 }
396
397#[lang = "shl"]
454#[doc(alias = "<<")]
455#[stable(feature = "rust1", since = "1.0.0")]
456#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
457#[diagnostic::on_unimplemented(
458 message = "no implementation for `{Self} << {Rhs}`",
459 label = "no implementation for `{Self} << {Rhs}`"
460)]
461pub const trait Shl<Rhs = Self> {
462 #[stable(feature = "rust1", since = "1.0.0")]
464 type Output;
465
466 #[must_use]
475 #[stable(feature = "rust1", since = "1.0.0")]
476 fn shl(self, rhs: Rhs) -> Self::Output;
477}
478
479macro_rules! shl_impl {
480 ($t:ty, $f:ty) => {
481 #[stable(feature = "rust1", since = "1.0.0")]
482 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
483 const impl Shl<$f> for $t {
484 type Output = $t;
485
486 #[inline]
487 #[track_caller]
488 #[rustc_inherit_overflow_checks]
489 fn shl(self, other: $f) -> $t {
490 self << other
491 }
492 }
493
494 forward_ref_binop! { impl Shl, shl for $t, $f,
495 #[stable(feature = "rust1", since = "1.0.0")]
496 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
497 };
498}
499
500macro_rules! shl_impl_all {
501 ($($t:ty)*) => ($(
502 shl_impl! { $t, u8 }
503 shl_impl! { $t, u16 }
504 shl_impl! { $t, u32 }
505 shl_impl! { $t, u64 }
506 shl_impl! { $t, u128 }
507 shl_impl! { $t, usize }
508
509 shl_impl! { $t, i8 }
510 shl_impl! { $t, i16 }
511 shl_impl! { $t, i32 }
512 shl_impl! { $t, i64 }
513 shl_impl! { $t, i128 }
514 shl_impl! { $t, isize }
515 )*)
516}
517
518#[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 }
519
520#[lang = "shr"]
577#[doc(alias = ">>")]
578#[stable(feature = "rust1", since = "1.0.0")]
579#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
580#[diagnostic::on_unimplemented(
581 message = "no implementation for `{Self} >> {Rhs}`",
582 label = "no implementation for `{Self} >> {Rhs}`"
583)]
584pub const trait Shr<Rhs = Self> {
585 #[stable(feature = "rust1", since = "1.0.0")]
587 type Output;
588
589 #[must_use]
598 #[stable(feature = "rust1", since = "1.0.0")]
599 fn shr(self, rhs: Rhs) -> Self::Output;
600}
601
602macro_rules! shr_impl {
603 ($t:ty, $f:ty) => {
604 #[stable(feature = "rust1", since = "1.0.0")]
605 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
606 const impl Shr<$f> for $t {
607 type Output = $t;
608
609 #[inline]
610 #[track_caller]
611 #[rustc_inherit_overflow_checks]
612 fn shr(self, other: $f) -> $t {
613 self >> other
614 }
615 }
616
617 forward_ref_binop! { impl Shr, shr for $t, $f,
618 #[stable(feature = "rust1", since = "1.0.0")]
619 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
620 };
621}
622
623macro_rules! shr_impl_all {
624 ($($t:ty)*) => ($(
625 shr_impl! { $t, u8 }
626 shr_impl! { $t, u16 }
627 shr_impl! { $t, u32 }
628 shr_impl! { $t, u64 }
629 shr_impl! { $t, u128 }
630 shr_impl! { $t, usize }
631
632 shr_impl! { $t, i8 }
633 shr_impl! { $t, i16 }
634 shr_impl! { $t, i32 }
635 shr_impl! { $t, i64 }
636 shr_impl! { $t, i128 }
637 shr_impl! { $t, isize }
638 )*)
639}
640
641#[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 }
642
643#[lang = "bitand_assign"]
709#[doc(alias = "&=")]
710#[stable(feature = "op_assign_traits", since = "1.8.0")]
711#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
712#[diagnostic::on_unimplemented(
713 message = "no implementation for `{Self} &= {Rhs}`",
714 label = "no implementation for `{Self} &= {Rhs}`"
715)]
716pub const trait BitAndAssign<Rhs = Self> {
717 #[stable(feature = "op_assign_traits", since = "1.8.0")]
739 fn bitand_assign(&mut self, rhs: Rhs);
740}
741
742macro_rules! bitand_assign_impl {
743 ($($t:ty)+) => ($(
744 #[stable(feature = "op_assign_traits", since = "1.8.0")]
745 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
746 const impl BitAndAssign for $t {
747 #[inline]
748 fn bitand_assign(&mut self, other: $t) { *self &= other }
749 }
750
751 forward_ref_op_assign! { impl BitAndAssign, bitand_assign for $t, $t,
752 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
753 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
754 )+)
755}
756
757#[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 }
758
759#[lang = "bitor_assign"]
784#[doc(alias = "|=")]
785#[stable(feature = "op_assign_traits", since = "1.8.0")]
786#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
787#[diagnostic::on_unimplemented(
788 message = "no implementation for `{Self} |= {Rhs}`",
789 label = "no implementation for `{Self} |= {Rhs}`"
790)]
791pub const trait BitOrAssign<Rhs = Self> {
792 #[stable(feature = "op_assign_traits", since = "1.8.0")]
814 fn bitor_assign(&mut self, rhs: Rhs);
815}
816
817macro_rules! bitor_assign_impl {
818 ($($t:ty)+) => ($(
819 #[stable(feature = "op_assign_traits", since = "1.8.0")]
820 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
821 const impl BitOrAssign for $t {
822 #[inline]
823 fn bitor_assign(&mut self, other: $t) { *self |= other }
824 }
825
826 forward_ref_op_assign! { impl BitOrAssign, bitor_assign for $t, $t,
827 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
828 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
829 )+)
830}
831
832#[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 }
833
834#[lang = "bitxor_assign"]
859#[doc(alias = "^=")]
860#[stable(feature = "op_assign_traits", since = "1.8.0")]
861#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
862#[diagnostic::on_unimplemented(
863 message = "no implementation for `{Self} ^= {Rhs}`",
864 label = "no implementation for `{Self} ^= {Rhs}`"
865)]
866pub const trait BitXorAssign<Rhs = Self> {
867 #[stable(feature = "op_assign_traits", since = "1.8.0")]
889 fn bitxor_assign(&mut self, rhs: Rhs);
890}
891
892macro_rules! bitxor_assign_impl {
893 ($($t:ty)+) => ($(
894 #[stable(feature = "op_assign_traits", since = "1.8.0")]
895 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
896 const impl BitXorAssign for $t {
897 #[inline]
898 fn bitxor_assign(&mut self, other: $t) { *self ^= other }
899 }
900
901 forward_ref_op_assign! { impl BitXorAssign, bitxor_assign for $t, $t,
902 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
903 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
904 )+)
905}
906
907#[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 }
908
909#[lang = "shl_assign"]
932#[doc(alias = "<<=")]
933#[stable(feature = "op_assign_traits", since = "1.8.0")]
934#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
935#[diagnostic::on_unimplemented(
936 message = "no implementation for `{Self} <<= {Rhs}`",
937 label = "no implementation for `{Self} <<= {Rhs}`"
938)]
939pub const trait ShlAssign<Rhs = Self> {
940 #[stable(feature = "op_assign_traits", since = "1.8.0")]
954 fn shl_assign(&mut self, rhs: Rhs);
955}
956
957macro_rules! shl_assign_impl {
958 ($t:ty, $f:ty) => {
959 #[stable(feature = "op_assign_traits", since = "1.8.0")]
960 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
961 const impl ShlAssign<$f> for $t {
962 #[inline]
963 #[track_caller]
964 #[rustc_inherit_overflow_checks]
965 fn shl_assign(&mut self, other: $f) {
966 *self <<= other
967 }
968 }
969
970 forward_ref_op_assign! { impl ShlAssign, shl_assign for $t, $f,
971 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
972 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
973 };
974}
975
976macro_rules! shl_assign_impl_all {
977 ($($t:ty)*) => ($(
978 shl_assign_impl! { $t, u8 }
979 shl_assign_impl! { $t, u16 }
980 shl_assign_impl! { $t, u32 }
981 shl_assign_impl! { $t, u64 }
982 shl_assign_impl! { $t, u128 }
983 shl_assign_impl! { $t, usize }
984
985 shl_assign_impl! { $t, i8 }
986 shl_assign_impl! { $t, i16 }
987 shl_assign_impl! { $t, i32 }
988 shl_assign_impl! { $t, i64 }
989 shl_assign_impl! { $t, i128 }
990 shl_assign_impl! { $t, isize }
991 )*)
992}
993
994#[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 }
995
996#[lang = "shr_assign"]
1019#[doc(alias = ">>=")]
1020#[stable(feature = "op_assign_traits", since = "1.8.0")]
1021#[rustc_const_unstable(feature = "const_ops", issue = "143802")]
1022#[diagnostic::on_unimplemented(
1023 message = "no implementation for `{Self} >>= {Rhs}`",
1024 label = "no implementation for `{Self} >>= {Rhs}`"
1025)]
1026pub const trait ShrAssign<Rhs = Self> {
1027 #[stable(feature = "op_assign_traits", since = "1.8.0")]
1041 fn shr_assign(&mut self, rhs: Rhs);
1042}
1043
1044macro_rules! shr_assign_impl {
1045 ($t:ty, $f:ty) => {
1046 #[stable(feature = "op_assign_traits", since = "1.8.0")]
1047 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]
1048 const impl ShrAssign<$f> for $t {
1049 #[inline]
1050 #[track_caller]
1051 #[rustc_inherit_overflow_checks]
1052 fn shr_assign(&mut self, other: $f) {
1053 *self >>= other
1054 }
1055 }
1056
1057 forward_ref_op_assign! { impl ShrAssign, shr_assign for $t, $f,
1058 #[stable(feature = "op_assign_builtins_by_ref", since = "1.22.0")]
1059 #[rustc_const_unstable(feature = "const_ops", issue = "143802")] }
1060 };
1061}
1062
1063macro_rules! shr_assign_impl_all {
1064 ($($t:ty)*) => ($(
1065 shr_assign_impl! { $t, u8 }
1066 shr_assign_impl! { $t, u16 }
1067 shr_assign_impl! { $t, u32 }
1068 shr_assign_impl! { $t, u64 }
1069 shr_assign_impl! { $t, u128 }
1070 shr_assign_impl! { $t, usize }
1071
1072 shr_assign_impl! { $t, i8 }
1073 shr_assign_impl! { $t, i16 }
1074 shr_assign_impl! { $t, i32 }
1075 shr_assign_impl! { $t, i64 }
1076 shr_assign_impl! { $t, i128 }
1077 shr_assign_impl! { $t, isize }
1078 )*)
1079}
1080
1081#[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 }