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

ices/82981.rs: fixed with errors #685

Merged
merged 1 commit into from
Mar 16, 2021
Merged

ices/82981.rs: fixed with errors #685

merged 1 commit into from
Mar 16, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#82981

#![crate_type = "staticlib"]
#![feature(rustc_attrs)]
#[rustc_layout_scalar_valid_range_start(A)]
struct T {}
const C: T = T {};
=== stdout ===
=== stderr ===
error: expected exactly one integer literal argument
 --> /home/runner/work/glacier/glacier/ices/82981.rs:3:1
  |
3 | #[rustc_layout_scalar_valid_range_start(A)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

==============

=== stdout ===
=== stderr ===
error: expected exactly one integer literal argument
 --> /home/runner/work/glacier/glacier/ices/82981.rs:3:1
  |
3 | #[rustc_layout_scalar_valid_range_start(A)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

==============
@JohnTitor JohnTitor merged commit 12f85bb into master Mar 16, 2021
@JohnTitor JohnTitor deleted the autofix/ices/82981.rs branch March 16, 2021 14:48
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