pub struct StarExportAmbiguity {
pub sources: Vec<PathBuf>,
pub namespaces: Vec<SemanticNamespace>,
}Expand description
The export * collision that keeps a name from being exported.
Fields§
§sources: Vec<PathBuf>Files that each declare a colliding declaration under the traced name (project-root-relative), sorted. These are the origins to fix: keep one, rename or explicitly re-export the rest.
namespaces: Vec<SemanticNamespace>The namespaces the collision occurs in, type before value. A name can collide in type space, value space, or both.
Trait Implementations§
Source§impl Clone for StarExportAmbiguity
impl Clone for StarExportAmbiguity
Source§impl Debug for StarExportAmbiguity
impl Debug for StarExportAmbiguity
impl Eq for StarExportAmbiguity
Source§impl PartialEq for StarExportAmbiguity
impl PartialEq for StarExportAmbiguity
Source§impl Serialize for StarExportAmbiguity
impl Serialize for StarExportAmbiguity
impl StructuralPartialEq for StarExportAmbiguity
Auto Trait Implementations§
impl Freeze for StarExportAmbiguity
impl RefUnwindSafe for StarExportAmbiguity
impl Send for StarExportAmbiguity
impl Sync for StarExportAmbiguity
impl Unpin for StarExportAmbiguity
impl UnsafeUnpin for StarExportAmbiguity
impl UnwindSafe for StarExportAmbiguity
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
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.