Skip to content

Commit f5986a8

Browse files
committed
[simple] Use #![feature(min_specialization)] instead of #![feature(specialization)]
This is a smaller and safer subset of `specialization`. It shouldn't cause any compiler errors or undefined behavior. It'll silence our warning about specialization being "incomplete".
1 parent 0d8e081 commit f5986a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/simple/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
const_panic, // Const panic should be stable
1010
untagged_unions, // Why isn't this stable?
1111
new_uninit, // Until Rust has const generics, this is how we init arrays..
12-
specialization, // Effectively required by GcRef :(
12+
min_specialization, // Effectively required by GcRef :(
1313
)]
1414
#![allow(
1515
/*

0 commit comments

Comments
 (0)