Use a path instead of an ident (and stop manually resolving)

This commit is contained in:
Michael Goulet
2024-04-04 20:23:52 -04:00
parent ce8961039e
commit 52c6b101ea
12 changed files with 81 additions and 84 deletions

View File

@@ -2188,12 +2188,12 @@ pub enum TraitObjectSyntax {
None,
}
#[derive(Clone, PartialEq, Encodable, Decodable, Debug)]
#[derive(Clone, Encodable, Decodable, Debug)]
pub enum PreciseCapturingArg {
/// Lifetime parameter
Lifetime(Lifetime),
/// Type or const parameter
Arg(Ident, NodeId),
Arg(Path, NodeId),
}
/// Inline assembly operand explicit register or register class.