Trait rustc_parse::parser::diagnostics::RecoverQPath
source · pub(super) trait RecoverQPath: Sized + 'static {
const PATH_STYLE: PathStyle = PathStyle::Expr;
// Required methods
fn to_ty(&self) -> Option<P<Ty>>;
fn recovered(qself: Option<P<QSelf>>, path: Path) -> Self;
}
Provided Associated Constants§
const PATH_STYLE: PathStyle = PathStyle::Expr
Required Methods§
fn to_ty(&self) -> Option<P<Ty>>
fn recovered(qself: Option<P<QSelf>>, path: Path) -> Self
Object Safety§
This trait is not object safe.