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

ices/83691.rs: fixed with errors #709

Merged
merged 1 commit into from
Apr 7, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 7, 2021

Issue: rust-lang/rust#83691

mod dep1 {
    extern "C" {
        pub static collision: Box<_>;
    }
}
fn main() {
    dep1::collision
}
=== stdout ===
=== stderr ===
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
 --> /home/runner/work/glacier/glacier/ices/83691.rs:3:35
  |
3 |         pub static collision: Box<_>;
  |                                   ^ not allowed in type signatures

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
 --> /home/runner/work/glacier/glacier/ices/83691.rs:3:35
  |
3 |         pub static collision: Box<_>;
  |                                   ^ not allowed in type signatures

error: aborting due to previous error

For more information about this error, try `rustc --explain E0121`.
==============
@Alexendoo Alexendoo merged commit c158cbe into master Apr 7, 2021
@Alexendoo Alexendoo deleted the autofix/ices/83691.rs branch April 7, 2021 12:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants