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

ices/82792.rs: fixed with no errors #697

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#82792

#![crate_type = "lib"]
#![feature(const_generics_defaults)]

#[repr(C)]
pub struct Loaf<T: Sized, const N: usize = 1usize> {
    head: [T; N],
    slice: [T],
}
=== stdout ===
=== stderr ===
warning: the feature `const_generics_defaults` is incomplete and may not be safe to use and/or cause compiler crashes
 --> /home/runner/work/glacier/glacier/ices/82792.rs:2:12
  |
2 | #![feature(const_generics_defaults)]
  |            ^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(incomplete_features)]` on by default
  = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information

warning: 1 warning emitted

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

=== stdout ===
=== stderr ===
warning: the feature `const_generics_defaults` is incomplete and may not be safe to use and/or cause compiler crashes
 --> /home/runner/work/glacier/glacier/ices/82792.rs:2:12
  |
2 | #![feature(const_generics_defaults)]
  |            ^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(incomplete_features)]` on by default
  = note: see issue #44580 <rust-lang/rust#44580> for more information

warning: 1 warning emitted

==============
@JohnTitor JohnTitor merged commit e63970a into master Mar 25, 2021
@JohnTitor JohnTitor deleted the autofix/ices/82792.rs branch March 25, 2021 13:25
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