Struct ra_ap_hir::diagnostics::MismatchedArgCount
source · pub struct MismatchedArgCount {
pub call_expr: InFile<AstPtr<Expr>>,
pub expected: usize,
pub found: usize,
}
Fields§
§call_expr: InFile<AstPtr<Expr>>
§expected: usize
§found: usize
Trait Implementations§
source§impl Debug for MismatchedArgCount
impl Debug for MismatchedArgCount
source§impl From<MismatchedArgCount> for AnyDiagnostic
impl From<MismatchedArgCount> for AnyDiagnostic
source§fn from(d: MismatchedArgCount) -> AnyDiagnostic
fn from(d: MismatchedArgCount) -> AnyDiagnostic
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MismatchedArgCount
impl RefUnwindSafe for MismatchedArgCount
impl Send for MismatchedArgCount
impl Sync for MismatchedArgCount
impl Unpin for MismatchedArgCount
impl UnwindSafe for MismatchedArgCount
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> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.