Remove ParamMode::ExplicitNamed

This commit is contained in:
Michael Goulet
2024-08-26 14:41:21 -04:00
parent 22572d0994
commit b4d3fa4829
2 changed files with 1 additions and 14 deletions

View File

@@ -481,8 +481,6 @@ pub fn lower_to_hir(tcx: TyCtxt<'_>, (): ()) -> hir::Crate<'_> {
enum ParamMode {
/// Any path in a type context.
Explicit,
/// Path in a type definition, where the anonymous lifetime `'_` is not allowed.
ExplicitNamed,
/// The `module::Type` in `module::Type::method` in an expression.
Optional,
}