]> git.proxmox.com Git - rustc.git/blob - src/test/ui/mismatched_types/issue-35030.stderr
New upstream version 1.45.0+dfsg1
[rustc.git] / src / test / ui / mismatched_types / issue-35030.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-35030.rs:9:14
3 |
4 LL | impl<bool> Parser<bool> for bool {
5 | ---- this type parameter
6 LL | fn parse(text: &str) -> Option<bool> {
7 LL | Some(true)
8 | ^^^^ expected type parameter `bool`, found `bool`
9 |
10 = note: expected type parameter `bool` (type parameter `bool`)
11 found type `bool` (`bool`)
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.