2015-04-07 13:50:14 -05:00
|
|
|
// aux-build:inline-default-methods.rs
|
2015-04-22 17:22:36 -05:00
|
|
|
// ignore-cross-compile
|
2015-04-07 13:50:14 -05:00
|
|
|
|
|
|
|
extern crate inline_default_methods;
|
|
|
|
|
|
|
|
// @has inline_default_methods/trait.Foo.html
|
2022-11-25 18:51:50 -06:00
|
|
|
// @has - '//pre[@class="rust item-decl"]' '// Required method fn bar(&self);'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' '// Provided method fn foo(&mut self)'
|
2015-04-07 13:50:14 -05:00
|
|
|
pub use inline_default_methods::Foo;
|
2022-11-25 18:51:50 -06:00
|
|
|
|
|
|
|
// @has inline_default_methods/trait.Bar.html
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' '// Required method fn bar(&self);'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' '// Provided methods fn foo1(&mut self)'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' 'fn foo2(&mut self)'
|
|
|
|
pub use inline_default_methods::Bar;
|
|
|
|
|
|
|
|
// @has inline_default_methods/trait.Baz.html
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' '// Required methods fn bar1(&self);'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' 'fn bar2(&self);'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' '// Provided method fn foo(&mut self)'
|
|
|
|
pub use inline_default_methods::Baz;
|