|
| 1 | +error[E0308]: mismatched types |
| 2 | + ╭▸ $DIR/long-E0308.rs:46:9 |
| 3 | + │ |
| 4 | +LL │ let x: Atype< |
| 5 | + │ ┌─────────────┘ |
| 6 | +LL │ │ Btype< |
| 7 | +LL │ │ Ctype< |
| 8 | +LL │ │ Atype< |
| 9 | + ‡ │ |
| 10 | +LL │ │ i32 |
| 11 | +LL │ │ > = Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(O… |
| 12 | + │ │┏━━━━━│━━━┛ |
| 13 | + │ └┃─────┤ |
| 14 | + │ ┃ expected due to this |
| 15 | +LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(O… |
| 16 | +LL │ ┃ Ok("") |
| 17 | +LL │ ┃ )))))))))))))))))))))))))))))) |
| 18 | +LL │ ┃ )))))))))))))))))))))))))))))); |
| 19 | + │ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `Atype<Btype<..., ...>, ...>`, found `Result<Result<..., ...>, ...>` |
| 20 | + │ |
| 21 | + ├ note: expected struct `Atype<Btype<..., ...>, ...>` |
| 22 | + │ found enum `Result<Result<..., ...>, ...>` |
| 23 | + ├ note: the full type name has been written to '$TEST_BUILD_DIR/diagnostic-width/long-E0308.unicode/long-E0308.long-type-hash.txt' |
| 24 | + ╰ note: consider using `--verbose` to print the full type name to the console |
| 25 | + |
| 26 | +error[E0308]: mismatched types |
| 27 | + ╭▸ $DIR/long-E0308.rs:59:26 |
| 28 | + │ |
| 29 | +LL │ ))))))))))))))))) == Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(… |
| 30 | + │ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━┛ |
| 31 | +LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok… |
| 32 | +LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok(""))))))) |
| 33 | +LL │ ┃ )))))))))))))))))))))))))))))) |
| 34 | +LL │ ┃ )))))))))))))))))))))))); |
| 35 | + │ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `Option<Result<..., ...>>`, found `Result<Result<..., ...>, ...>` |
| 36 | + │ |
| 37 | + ├ note: expected enum `Option<Result<..., ...>>` |
| 38 | + │ found enum `Result<Result<..., ...>, ...>` |
| 39 | + ├ note: the full type name has been written to '$TEST_BUILD_DIR/diagnostic-width/long-E0308.unicode/long-E0308.long-type-hash.txt' |
| 40 | + ╰ note: consider using `--verbose` to print the full type name to the console |
| 41 | + |
| 42 | +error[E0308]: mismatched types |
| 43 | + ╭▸ $DIR/long-E0308.rs:90:9 |
| 44 | + │ |
| 45 | +LL │ let x: Atype< |
| 46 | + │ ┌────────────┘ |
| 47 | +LL │ │ Btype< |
| 48 | +LL │ │ Ctype< |
| 49 | +LL │ │ Atype< |
| 50 | + ‡ │ |
| 51 | +LL │ │ i32 |
| 52 | +LL │ │ > = (); |
| 53 | + │ │ │ ━━ expected `Atype<Btype<..., ...>, ...>`, found `()` |
| 54 | + │ └─────┤ |
| 55 | + │ expected due to this |
| 56 | + │ |
| 57 | + ├ note: expected struct `Atype<Btype<..., ...>, ...>` |
| 58 | + │ found unit type `()` |
| 59 | + ├ note: the full type name has been written to '$TEST_BUILD_DIR/diagnostic-width/long-E0308.unicode/long-E0308.long-type-hash.txt' |
| 60 | + ╰ note: consider using `--verbose` to print the full type name to the console |
| 61 | + |
| 62 | +error[E0308]: mismatched types |
| 63 | + ╭▸ $DIR/long-E0308.rs:93:17 |
| 64 | + │ |
| 65 | +LL │ let _: () = Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(… |
| 66 | + │ ┏━━━━━━━━━━━━┬─━━━┛ |
| 67 | + │ ┃ │ |
| 68 | + │ ┃ expected due to this |
| 69 | +LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok… |
| 70 | +LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok(""))))))) |
| 71 | +LL │ ┃ )))))))))))))))))))))))))))))) |
| 72 | +LL │ ┃ )))))))))))))))))))))))); |
| 73 | + │ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `()`, found `Result<Result<..., ...>, ...>` |
| 74 | + │ |
| 75 | + ├ note: expected unit type `()` |
| 76 | + │ found enum `Result<Result<..., ...>, ...>` |
| 77 | + ├ note: the full type name has been written to '$TEST_BUILD_DIR/diagnostic-width/long-E0308.unicode/long-E0308.long-type-hash.txt' |
| 78 | + ╰ note: consider using `--verbose` to print the full type name to the console |
| 79 | + |
| 80 | +error: aborting due to 4 previous errors |
| 81 | + |
| 82 | +For more information about this error, try `rustc --explain E0308`. |
0 commit comments