rust/tests/rustdoc/inline-default-methods.rs
2023-01-11 09:32:08 +00:00

10 lines
304 B
Rust

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