rust/tests/rustdoc/inline-default-methods.rs

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

10 lines
344 B
Rust
Raw Normal View History

// aux-build:inline-default-methods.rs
// ignore-cross-compile
extern crate inline_default_methods;
// @has inline_default_methods/trait.Foo.html
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'fn bar(&self);'
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'fn foo(&mut self) { ... }'
pub use inline_default_methods::Foo;