Skip to content

Commit 073e366

Browse files
committed
c2rust-refactor: Silence warnings about incomplete features, e.g., specialization
1 parent c46ae94 commit 073e366

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

c2rust-refactor/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Silence warnings and errors from the use of specialization below
2+
// which is an incomplete feature that rustc warns about.
3+
// TODO: switch to min_specialization, but that isn't a suitable
4+
// replacement yet.
5+
#![allow(incomplete_features)]
16
#![feature(
27
rustc_private,
38
trace_macros,

0 commit comments

Comments
 (0)