pub struct UnknownTarget {
pub triple: String,
/* private fields */
}Expand description
Why a triple could not be turned into a TargetModel.
Fields§
§triple: StringThe triple as it was written.
Implementations§
Source§impl UnknownTarget
impl UnknownTarget
Sourcepub fn message(&self, source: &TargetSource) -> String
pub fn message(&self, source: &TargetSource) -> String
The diagnostic for a triple that came from source.
The knob that named the triple leads, so that the reader knows what to change before reading why; the fix follows the reason, and the list of families comes last.
Trait Implementations§
Source§impl Clone for UnknownTarget
impl Clone for UnknownTarget
Source§impl Debug for UnknownTarget
impl Debug for UnknownTarget
Source§impl Display for UnknownTarget
impl Display for UnknownTarget
impl Eq for UnknownTarget
Source§impl PartialEq for UnknownTarget
impl PartialEq for UnknownTarget
impl StructuralPartialEq for UnknownTarget
Auto Trait Implementations§
impl Freeze for UnknownTarget
impl RefUnwindSafe for UnknownTarget
impl Send for UnknownTarget
impl Sync for UnknownTarget
impl Unpin for UnknownTarget
impl UnsafeUnpin for UnknownTarget
impl UnwindSafe for UnknownTarget
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