Skip to content

Commit f5b4b5e

Browse files
tests: Update raw-dylib unsupported ABI test
1 parent 9335cb1 commit f5b4b5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extern crate minicore;
1111

1212
#[link(name = "foo", kind = "raw-dylib")]
1313
extern "stdcall" {
14-
//~^ WARN: calling convention not supported on this target
14+
//~^ WARN: unsupported_calling_conventions
1515
//~| WARN: previously accepted
1616
fn f(x: i32);
1717
//~^ ERROR ABI not supported by `#[link(kind = "raw-dylib")]` on this architecture

tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: use of calling convention not supported on this target
1+
warning: "stdcall" is not a supported ABI for the current target
22
--> $DIR/unsupported-abi.rs:13:1
33
|
44
LL | / extern "stdcall" {

0 commit comments

Comments
 (0)