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

ices/76064.rs: fixed with errors #542

Merged
merged 1 commit into from
Nov 16, 2020
Merged

ices/76064.rs: fixed with errors #542

merged 1 commit into from
Nov 16, 2020

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#76064

struct Bug([u8; panic!(1)]);

fn main() {}
=== stdout ===
=== stderr ===
error[E0658]: panicking in constants is unstable
 --> /home/runner/work/glacier/glacier/ices/76064.rs:1:17
  |
1 | struct Bug([u8; panic!(1)]);
  |                 ^^^^^^^^^
  |
  = note: see issue #51999 <https://github.com/rust-lang/rust/issues/51999> for more information
  = help: add `#![feature(const_panic)]` to the crate attributes to enable
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error[E0658]: panicking in constants is unstable
 --> /home/runner/work/glacier/glacier/ices/76064.rs:1:17
  |
1 | struct Bug([u8; panic!(1)]);
  |                 ^^^^^^^^^
  |
  = note: see issue #51999 <rust-lang/rust#51999> for more information
  = help: add `#![feature(const_panic)]` to the crate attributes to enable
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
==============
@Alexendoo Alexendoo merged commit 4c19f39 into master Nov 16, 2020
@Alexendoo Alexendoo deleted the autofix/ices/76064.rs branch November 16, 2020 15:40
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