Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

ices/79669.rs: fixed with errors #609

Merged
merged 1 commit into from
Jan 9, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 9, 2021

Issue: rust-lang/rust#79669

trait Tr {
    extern "rust-call" fn fun() {}
}

fn main() {}
=== stdout ===
=== stderr ===
error[E0658]: rust-call ABI is subject to change
 --> /home/runner/work/glacier/glacier/ices/79669.rs:2:12
  |
2 |     extern "rust-call" fn fun() {}
  |            ^^^^^^^^^^^
  |
  = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
  = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable

error: A function with the "rust-call" ABI must take a single non-self argument that is a tuple
 --> /home/runner/work/glacier/glacier/ices/79669.rs:2:5
  |
2 |     extern "rust-call" fn fun() {}
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
==============

=== stdout ===
=== stderr ===
error[E0658]: rust-call ABI is subject to change
 --> /home/runner/work/glacier/glacier/ices/79669.rs:2:12
  |
2 |     extern "rust-call" fn fun() {}
  |            ^^^^^^^^^^^
  |
  = note: see issue #29625 <rust-lang/rust#29625> for more information
  = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable

error: A function with the "rust-call" ABI must take a single non-self argument that is a tuple
 --> /home/runner/work/glacier/glacier/ices/79669.rs:2:5
  |
2 |     extern "rust-call" fn fun() {}
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
==============
@JohnTitor JohnTitor merged commit aff9d24 into master Jan 9, 2021
@JohnTitor JohnTitor deleted the autofix/ices/79669.rs branch January 9, 2021 12:35
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants