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