-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bless new test output (new trait impls in lists of suggestions)
- Loading branch information
1 parent
177ad2b
commit 4af44ae
Showing
10 changed files
with
49 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
error[E0308]: mismatched types | ||
--> $DIR/slice-to-vec-comparison.rs:4:9 | ||
error[E0277]: can't compare `[_; 0]` with `Vec<u8>` | ||
--> $DIR/slice-to-vec-comparison.rs:4:7 | ||
| | ||
LL | a > b; | ||
| ^ expected `&[_; 0]`, found `&Vec<u8>` | ||
| ^ no implementation for `[_; 0] < Vec<u8>` and `[_; 0] > Vec<u8>` | ||
| | ||
= note: expected reference `&[_; 0]` | ||
found reference `&Vec<u8>` | ||
= help: the trait `PartialOrd<Vec<u8>>` is not implemented for `[_; 0]` | ||
= help: the following other types implement trait `PartialOrd<Rhs>`: | ||
`&[u8; N]` implements `PartialOrd<ByteStr>` | ||
`&[u8; N]` implements `PartialOrd<ByteString>` | ||
`&[u8]` implements `PartialOrd<ByteStr>` | ||
`&[u8]` implements `PartialOrd<ByteString>` | ||
`[T; N]` implements `PartialOrd` | ||
`[T]` implements `PartialOrd` | ||
`[u8; N]` implements `PartialOrd<ByteStr>` | ||
`[u8; N]` implements `PartialOrd<ByteString>` | ||
and 2 others | ||
= note: required for `&[_; 0]` to implement `PartialOrd<&Vec<u8>>` | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0308`. | ||
For more information about this error, try `rustc --explain E0277`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters