Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
known bug 24686: add count directive to ensure no extra methods
  • Loading branch information
lolbinarycat committed Feb 24, 2025
commit 382b57724568d89d97b3fa7f76f38f65f4620e7e
1 change: 1 addition & 0 deletions tests/rustdoc/deref/deref-methods-24686-target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ impl Foo<u32> {
//@ has foo/struct.Bar.html
//@ has - '//a[@href="#method.get_i32"]' 'get_i32'
Comment thread
lolbinarycat marked this conversation as resolved.
//@ !has - '//a[@href="#method.get_u32"]' 'get_u32'
//@ count - '//a[@class="method"]' 1
pub struct Bar(Foo<i32>);
impl Deref for Bar {
type Target = Foo<i32>;
Expand Down