error[E0308]: mismatched types --> $DIR/issue-35030.rs:9:14 | LL | impl Parser for bool { | ---- this type parameter LL | fn parse(text: &str) -> Option { LL | Some(true) | ^^^^ expected type parameter `bool`, found `bool` | = note: expected type parameter `bool` (type parameter `bool`) found type `bool` (`bool`) error: aborting due to previous error For more information about this error, try `rustc --explain E0308`.