mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
13 lines
363 B
Rust
13 lines
363 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;
|