Skip to content

Commit cd7b0fc

Browse files
author
Seiichi Uchida
authored
Update feature-gate-unboxed-closures.rs
1 parent 3617868 commit cd7b0fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/compile-fail/feature-gate-unboxed-closures.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(fn_traits)]
12-
1311
struct Test;
1412

1513
impl FnOnce<(u32, u32)> for Test {
@@ -18,6 +16,7 @@ impl FnOnce<(u32, u32)> for Test {
1816
extern "rust-call" fn call_once(self, (a, b): (u32, u32)) -> u32 {
1917
a + b
2018
}
19+
//~^^^ ERROR rust-call ABI is subject to change (see issue #29625)
2120
}
2221

2322
fn main() {

0 commit comments

Comments
 (0)