diff options
| author | Michael Howell <michael@notriddle.com> | 2023-09-27 17:15:37 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-09-27 17:15:37 -0700 |
| commit | 7cd8b2c9253e83c8101a45ccf6e401cd3160650c (patch) | |
| tree | 6845aa1f60ffffea3787791ed2cde8bd7c46f612 /tests/rustdoc/impl-ref-20175.rs | |
| parent | 79195d5cbbf839ed6db8cda394b0a7b2ef447ba7 (diff) | |
| download | rust-7cd8b2c9253e83c8101a45ccf6e401cd3160650c.tar.gz rust-7cd8b2c9253e83c8101a45ccf6e401cd3160650c.zip | |
Rename issue-\d+.rs tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/impl-ref-20175.rs')
| -rw-r--r-- | tests/rustdoc/impl-ref-20175.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rustdoc/impl-ref-20175.rs b/tests/rustdoc/impl-ref-20175.rs new file mode 100644 index 00000000000..5b38ab91af9 --- /dev/null +++ b/tests/rustdoc/impl-ref-20175.rs @@ -0,0 +1,12 @@ +#![crate_name="issue_20175"] + +pub trait Foo { + fn foo(&self) {} +} + +pub struct Bar; + +// @has issue_20175/struct.Bar.html \ +// '//*[@id="method.foo"]' \ +// 'fn foo' +impl<'a> Foo for &'a Bar {} |
