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

Commit

Permalink
Tweak some snippets to emit ICEs correctly (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Apr 26, 2021
1 parent c7089e0 commit a9c2a5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
5 changes: 2 additions & 3 deletions ices/79674.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![feature(const_generics)]
#![feature(const_evaluatable_checked)]
#![feature(const_fn)]
#![feature(const_evaluatable_checked, const_fn, const_fn_trait_bound, const_generics)]
#![allow(incomplete_features)]

trait MiniTypeId {
const TYPE_ID: u64;
Expand Down
3 changes: 2 additions & 1 deletion ices/83938.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![crate_type = "lib"]
#![feature(const_generics_defaults)]
#![feature(const_evaluatable_checked, const_generics, const_generics_defaults)]
#![allow(incomplete_features)]

type NpOne<T, const N: usize, const NP: usize = {N+1usize}> = [T; NP];

Expand Down

0 comments on commit a9c2a5a

Please sign in to comment.