We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b4c91 commit b9a69c7Copy full SHA for b9a69c7
src/test/rustdoc/foreigntype.rs
@@ -8,7 +8,9 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
-#![feature(extern_types)]
+#![feature(extern_types, dynsized)]
12
+
13
+use std::marker::DynSized;
14
15
extern {
16
// @has foreigntype/foreigntype.ExtType.html
@@ -20,7 +22,7 @@ impl ExtType {
20
22
pub fn do_something(&self) {}
21
23
}
24
-pub trait Trait {}
25
+pub trait Trait: ?DynSized {}
26
27
// @has foreigntype/trait.Trait.html '//a[@class="foreigntype"]' 'ExtType'
28
impl Trait for ExtType {}
0 commit comments