pub enum IrBuildError {
TitleCollision {
namespace: String,
title: String,
first: TypeSource,
second: TypeSource,
},
MissingSchema {
path: Vec<String>,
},
Unreadable {
path: Vec<String>,
detail: String,
},
}Expand description
Why no IR can be built.
Variants§
TitleCollision
Two different shapes carry one name in one namespace (RETURNS-13):
a conflict the activation’s author resolves; the IR never picks one.
Only build_one fails so; build’s walk refuses that activation.
MissingSchema
A walk’s root no schema was given for.
Unreadable
A walk’s root whose schema synapse could not read.
Trait Implementations§
Source§impl Clone for IrBuildError
impl Clone for IrBuildError
Source§impl Debug for IrBuildError
impl Debug for IrBuildError
Source§impl Display for IrBuildError
synapse’s renderIRBuildError, word for word.
impl Display for IrBuildError
synapse’s renderIRBuildError, word for word.
impl Eq for IrBuildError
Source§impl Error for IrBuildError
impl Error for IrBuildError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for IrBuildError
impl PartialEq for IrBuildError
impl StructuralPartialEq for IrBuildError
Auto Trait Implementations§
impl Freeze for IrBuildError
impl RefUnwindSafe for IrBuildError
impl Send for IrBuildError
impl Sync for IrBuildError
impl Unpin for IrBuildError
impl UnsafeUnpin for IrBuildError
impl UnwindSafe for IrBuildError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.