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

ices/111911.rs: fixed with no errors #1723

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#111911

#![feature(adt_const_params)]

fn foo<const N: &'static u8>() -> impl Sized {}

fn main() {}
=== stdout ===
=== stderr ===
warning: the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes
 --> /home/runner/work/glacier/glacier/ices/111911.rs:1:12
  |
1 | #![feature(adt_const_params)]
  |            ^^^^^^^^^^^^^^^^
  |
  = note: see issue #95174 <https://github.com/rust-lang/rust/issues/95174> for more information
  = note: `#[warn(incomplete_features)]` on by default

warning: function `foo` is never used
 --> /home/runner/work/glacier/glacier/ices/111911.rs:3:4
  |
3 | fn foo<const N: &'static u8>() -> impl Sized {}
  |    ^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: 2 warnings emitted

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

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

warning: function `foo` is never used
 --> /home/runner/work/glacier/glacier/ices/111911.rs:3:4
  |
3 | fn foo<const N: &'static u8>() -> impl Sized {}
  |    ^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: 2 warnings emitted

==============
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.

1 participant