Struct proc_macro2::LexError
source · pub struct LexError { /* private fields */ }
Expand description
Error returned from TokenStream::from_str
.
Implementations§
Trait Implementations§
source§impl Error for LexError
impl Error for LexError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl RefUnwindSafe for LexError
impl !Send for LexError
impl !Sync for LexError
impl Unpin for LexError
impl UnwindSafe for LexError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LexError
impl Error for LexError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl RefUnwindSafe for LexError
impl !Send for LexError
impl !Sync for LexError
impl Unpin for LexError
impl UnwindSafe for LexError
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
source§impl<T> From<T> for T
impl<T> From<T> for T
source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/docs/rust/proc_macro2/struct.Punct.html b/docs/rust/proc_macro2/struct.Punct.html index 61d60f1438c..507dbd6d774 100644 --- a/docs/rust/proc_macro2/struct.Punct.html +++ b/docs/rust/proc_macro2/struct.Punct.html @@ -14,9 +14,9 @@ so the operator has certainly ended.