Skip to content

Commit

Permalink
Tracking issue for UNSUPPORTED_CALLING_CONVENTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Aug 27, 2021
1 parent 4a6547c commit fb5fbaa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3384,7 +3384,7 @@ declare_lint! {
Warn,
"use of unsupported calling convention",
@future_incompatible = FutureIncompatibleInfo {
reference: "issue #00000 <https://github.com/rust-lang/rust/issues/00000>",
reference: "issue #87678 <https://github.com/rust-lang/rust/issues/87678>",
};
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/abi/unsupported.aarch64.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ LL | extern "stdcall" fn stdcall() {}
|
= note: `#[warn(unsupported_calling_conventions)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #00000 <https://github.com/rust-lang/rust/issues/00000>
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>

warning: use of calling convention not supported on this target
--> $DIR/unsupported.rs:44:1
Expand All @@ -51,7 +51,7 @@ LL | extern "thiscall" fn thiscall() {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #00000 <https://github.com/rust-lang/rust/issues/00000>
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>

error: aborting due to 6 previous errors; 2 warnings emitted

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/abi/unsupported.x64.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ LL | extern "stdcall" fn stdcall() {}
|
= note: `#[warn(unsupported_calling_conventions)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #00000 <https://github.com/rust-lang/rust/issues/00000>
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>

warning: use of calling convention not supported on this target
--> $DIR/unsupported.rs:44:1
Expand All @@ -51,7 +51,7 @@ LL | extern "thiscall" fn thiscall() {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #00000 <https://github.com/rust-lang/rust/issues/00000>
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>

error: aborting due to 6 previous errors; 2 warnings emitted

Expand Down

0 comments on commit fb5fbaa

Please sign in to comment.