forked from rust-lang/rust
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#99360 - compiler-errors:issue-99331, r=fee1…
…-dead Do not ICE when we have `-Zunpretty=expanded` with invalid ABI Fixes rust-lang#99331
- Loading branch information
Showing
5 changed files
with
33 additions
and
6 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,13 @@ | ||
#![feature(prelude_import)] | ||
#![no_std] | ||
#[prelude_import] | ||
use ::std::prelude::rust_2015::*; | ||
#[macro_use] | ||
extern crate std; | ||
// revisions: normal expanded | ||
//[expanded] check-pass | ||
//[expanded]compile-flags: -Zunpretty=expanded | ||
|
||
extern "路濫狼á́́" fn foo() {} | ||
|
||
fn main() {} |
2 changes: 1 addition & 1 deletion
2
src/test/ui/codemap_tests/unicode.stderr → ...st/ui/codemap_tests/unicode.normal.stderr
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,3 +1,7 @@ | ||
extern "路濫狼á́́" fn foo() {} //~ ERROR invalid ABI | ||
// revisions: normal expanded | ||
//[expanded] check-pass | ||
//[expanded]compile-flags: -Zunpretty=expanded | ||
|
||
extern "路濫狼á́́" fn foo() {} //[normal]~ ERROR invalid ABI | ||
|
||
fn main() { } |