Struct proc_macro::ExpandError
source · #[non_exhaustive]pub struct ExpandError;
🔬This is a nightly-only experimental API. (
proc_macro_expand
#90765)Expand description
从 TokenStream::expand_expr
返回的错误。
Trait Implementations§
source§impl Debug for ExpandError
impl Debug for ExpandError
source§impl Display for ExpandError
impl Display for ExpandError
source§impl Error for ExpandError
impl Error for ExpandError
impl !Send for ExpandError
impl !Sync for ExpandError
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值中借用。 Read more