Module rustc_ast_passes::ast_validation
source · Structs
Enums
- What is the context that prevents using
~const
? - Is
self
allowed semantically as the first parameter in anFnDecl
?
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>
)