]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/issue-35030.stderr
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[rust.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`.