Module rustc_ast_passes::ast_validation [−][src]
Structs
Enums
A syntactic context that disallows certain kinds of bounds (e.g., ?Trait or ?const Trait).
Is self allowed semantically as the first parameter in an FnDecl?
Constants
Functions
When encountering an equality constraint in a where clause, emit an error. If the code seems
like it’s setting an associated type, provide an appropriate suggestion.
Checks that generic parameters are in the correct order,
which is lifetimes, then types and then consts. (<'a, T, const N: usize>)