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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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
}
}
};
}