pub struct Errors { /* private fields */ }
Expand description
A collection of Error
s submitted during e.g. parsing with PopFrom
.
Only the set of Error
s with the highest ErrorPriority
is pasted as compile_error!
s through IntoTokens
.
Implementations§
Trait Implementations§
Source§impl IntoTokens for Errors
Emits compile_error!
s, but oly those with the highest ErrorPriority
.
Expects root
to re-export core
if not empty.
impl IntoTokens for Errors
Emits compile_error!
s, but oly those with the highest ErrorPriority
.
Expects root
to re-export core
if not empty.
Source§fn into_tokens(self, root: &TokenStream, tokens: &mut impl Extend<TokenTree>)
fn into_tokens(self, root: &TokenStream, tokens: &mut impl Extend<TokenTree>)
Source§fn collect_tokens<T: Default + Extend<TokenTree>>(self, root: &TokenStream) -> Twhere
Self: Sized,
fn collect_tokens<T: Default + Extend<TokenTree>>(self, root: &TokenStream) -> Twhere
Self: Sized,
Convenience methods to emit
self
’s tokens into a new T
.Auto Trait Implementations§
impl Freeze for Errors
impl RefUnwindSafe for Errors
impl !Send for Errors
impl !Sync for Errors
impl Unpin for Errors
impl UnwindSafe for Errors
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
Mutably borrows from an owned value. Read more