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

ices/74713.rs: fixed with errors #595

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#74713

fn bug<'a>()
where
    [(); {
        let _: &'a ();
    }]: ,
{
}

fn main() {}
=== stdout ===
=== stderr ===
error[E0658]: a non-static lifetime is not allowed in a `const`
 --> /home/runner/work/glacier/glacier/ices/74713.rs:4:17
  |
4 |         let _: &'a ();
  |                 ^^
  |
  = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
  = help: add `#![feature(const_generics)]` to the crate attributes to enable

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error[E0658]: a non-static lifetime is not allowed in a `const`
 --> /home/runner/work/glacier/glacier/ices/74713.rs:4:17
  |
4 |         let _: &'a ();
  |                 ^^
  |
  = note: see issue #44580 <rust-lang/rust#44580> for more information
  = help: add `#![feature(const_generics)]` to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
==============
@Alexendoo
Copy link
Member

48b35b2

@Alexendoo Alexendoo closed this Dec 28, 2020
@Alexendoo Alexendoo deleted the autofix/ices/74713.rs branch December 28, 2020 14:32
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