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

Conversation

@github-actions
Copy link
Contributor

Issue: rust-lang/rust#85713

#![crate_type = "lib"]
#[repr(align)]
pub struct Foo;
=== stdout ===
=== stderr ===
error[E0589]: invalid `repr(align)` attribute: `align` needs an argument
 --> /home/runner/work/glacier/glacier/ices/85713.rs:2:8
  |
2 | #[repr(align)]
  |        ^^^^^ help: supply an argument here: `align(...)`

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error[E0589]: invalid `repr(align)` attribute: `align` needs an argument
 --> /home/runner/work/glacier/glacier/ices/85713.rs:2:8
  |
2 | #[repr(align)]
  |        ^^^^^ help: supply an argument here: `align(...)`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0589`.
==============
@JohnTitor JohnTitor merged commit 79a5eac into master Jul 11, 2021
@JohnTitor JohnTitor deleted the autofix/ices/85713.rs branch July 11, 2021 13:08
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