pub bounds: GenericBounds,
pub is_placeholder: bool,
pub kind: GenericParamKind,
+ pub colon_span: Option<Span>,
}
impl GenericParam {
pub span: Span,
pub tokens: Option<LazyTokenStream>,
/// The following *isn't* a parse error, but will cause multiple errors in following stages.
- /// ```
+ /// ```compile_fail
/// let x = {
/// foo: var
/// };