You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latter half of the type documentation disappears when hovering over types that are generated through macros.
To reproduce the bug, cargo new and
Its source: (~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/num/uint_macros.rs)
macro_rules! uint_impl {(// ...) => {// .../// Returns the number of trailing ones in the binary representation/// of `self`.////// # Examples////// Basic usage:////// ```
#[doc = concat!("let n = 0b1010111", stringify!($SelfT),";")]////// assert_eq!(n.trailing_ones(), 3);/// ```
#[stable(feature = "leading_trailing_ones", since = "1.46.0")]
#[rustc_const_stable(feature = "leading_trailing_ones", since = "1.46.0")]
#[must_use = "this returns the result of the operation, \ without modifying the original"]
#[inline(always)]pubconstfn trailing_ones(self) -> u32{(!self).trailing_zeros()}}
The text was updated successfully, but these errors were encountered:
rust-analyzer version: 0.3.1730-standalone
rustc version: 1.73.0 (cc66ad468 2023-10-03)
The latter half of the type documentation disappears when hovering over types that are generated through macros.
To reproduce the bug,
cargo new
andIts source: (
~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/num/uint_macros.rs
)The text was updated successfully, but these errors were encountered: