-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #198 from mejrs/master
Normalize "and x others"
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
let _x = 42_u8 >> "bar"; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
error[E0277]: no implementation for `u8 >> &str` | ||
--> tests/ui/normalize_and_x_others.rs:2:20 | ||
| | ||
2 | let _x = 42_u8 >> "bar"; | ||
| ^^ no implementation for `u8 >> &str` | ||
| | ||
= help: the trait `Shr<&str>` is not implemented for `u8` | ||
= help: the following other types implement trait `Shr<Rhs>`: | ||
<&'a i128 as Shr<i128>> | ||
<&'a i128 as Shr<i16>> | ||
<&'a i128 as Shr<i32>> | ||
<&'a i128 as Shr<i64>> | ||
<&'a i128 as Shr<i8>> | ||
<&'a i128 as Shr<isize>> | ||
<&'a i128 as Shr<u128>> | ||
<&'a i128 as Shr<u16>> | ||
and $COUNT others |