rust/tests/rustdoc/inline_cross/auxiliary/trait-vis.rs

14 lines
219 B
Rust
Raw Normal View History

#![crate_name = "inner"]
pub struct SomeStruct;
fn asdf() {
const _FOO: () = {
impl Clone for SomeStruct {
fn clone(&self) -> Self {
SomeStruct
}
}
};
}