2015-04-07 18:50:14 +00:00
|
|
|
// aux-build:inline-default-methods.rs
|
2015-04-22 22:22:36 +00:00
|
|
|
// ignore-cross-compile
|
2015-04-07 18:50:14 +00:00
|
|
|
|
|
|
|
extern crate inline_default_methods;
|
|
|
|
|
|
|
|
// @has inline_default_methods/trait.Foo.html
|
2022-11-26 00:51:50 +00: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 18:50:14 +00:00
|
|
|
pub use inline_default_methods::Foo;
|
2022-11-26 00:51:50 +00: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;
|