Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rustc_builtin_macros] add indices to format_foreign::printf::Substit…
…ution::Escape
- Loading branch information
Showing
3 changed files
with
31 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// check-fail | ||
|
||
pub fn main() { println!("🦀%%%", 0) } //~ ERROR argument never used |
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,16 @@ | ||
error: argument never used | ||
--> $DIR/issue-92267.rs:3:34 | ||
| | ||
LL | pub fn main() { println!("🦀%%%", 0) } | ||
| ^ argument never used | ||
| | ||
note: format specifiers use curly braces, and the conversion specifier ` | ||
` is unknown or unsupported | ||
--> $DIR/issue-92267.rs:3:30 | ||
| | ||
LL | pub fn main() { println!("🦀%%%", 0) } | ||
| ^^ | ||
= note: printf formatting not supported; see the documentation for `std::fmt` | ||
|
||
error: aborting due to previous error | ||
|