summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/inline-default-methods.rs
blob: a4ca928f3331b94068dd7cd89d75dc1f8d8d9cc8 (plain)
1
2
3
4
5
6
7
8
9
// 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;