Module rustc_ast_passes::ast_validation
source Β· StructsΒ§
- AstValidator π
EnumsΒ§
- What is the context that prevents using
~const? - SelfSemantic πIs
selfallowed semantically as the first parameter in anFnDecl? - TraitOrTraitImpl π
FunctionsΒ§
- When encountering an equality constraint in a
whereclause, 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>)