Skip to content

Commit 39b5eda

Browse files
committed
make test check-fail
1 parent 4a4383e commit 39b5eda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/rustdoc/deref/deref-methods-24686-target.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ known-bug: #24686
2+
//@ run-fail
23
#![crate_name = "foo"]
34

45
// test for https://github.com/rust-lang/rust/issues/24686
@@ -14,7 +15,7 @@ impl Foo<u32> {
1415
//@ has foo/struct.Bar.html
1516
//@ has - '//a[@href="#method.get_i32"]' 'get_i32'
1617
//@ !has - '//a[@href="#method.get_u32"]' 'get_u32'
17-
//@ count - '//a[@class="method"]' 1
18+
//@ count - '//a[@class="fn"]' 1
1819
pub struct Bar(Foo<i32>);
1920
impl Deref for Bar {
2021
type Target = Foo<i32>;

0 commit comments

Comments
 (0)