mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
13 lines
366 B
Rust
13 lines
366 B
Rust
//@ aux-build:impl-inline-without-trait.rs
|
|
//@ build-aux-docs
|
|
//@ ignore-cross-compile
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
extern crate impl_inline_without_trait;
|
|
|
|
//@ has 'foo/struct.MyStruct.html'
|
|
//@ has - '//*[@id="method.my_trait_method"]' 'fn my_trait_method()'
|
|
//@ has - '//div[@class="docblock"]' 'docs for my_trait_method'
|
|
pub use impl_inline_without_trait::MyStruct;
|