Skip to content

Commit 63ace25

Browse files
Manishearthalexcrichton
authored andcommitted
Add marker trait to test (fixup #22538)
1 parent 8f1d40f commit 63ace25

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/run-pass/extern-methods.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10-
trait A {
10+
11+
use std::marker::MarkerTrait;
12+
13+
trait A : MarkerTrait {
1114
extern "fastcall" fn test1(i: i32);
1215
extern fn test2(i: i32);
1316
}

0 commit comments

Comments
 (0)