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

ices/113381.rs: fixed with errors #1649

Merged
merged 1 commit into from
Oct 15, 2023
Merged

ices/113381.rs: fixed with errors #1649

merged 1 commit into from
Oct 15, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 9, 2023

Issue: rust-lang/rust#113381

#![feature(const_closures, const_trait_imp, effects)]
#![allow(incomplete_features)]

trait Foo {
    fn foo(&self);
}

impl Foo for () {
    fn foo(&self) {}
}

fn main() {
    (const || { (()).foo() })();
}
=== stdout ===
=== stderr ===
error[E0635]: unknown feature `const_trait_imp`
 --> /home/runner/work/glacier/glacier/ices/113381.rs:1:28
  |
1 | #![feature(const_closures, const_trait_imp, effects)]
  |                            ^^^^^^^^^^^^^^^

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error[E0635]: unknown feature `const_trait_imp`
 --> /home/runner/work/glacier/glacier/ices/113381.rs:1:28
  |
1 | #![feature(const_closures, const_trait_imp, effects)]
  |                            ^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0635`.
==============
@JohnTitor JohnTitor merged commit c33e925 into master Oct 15, 2023
@JohnTitor JohnTitor deleted the autofix/ices/113381.rs branch October 15, 2023 03:06
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