Skip to content

Commit 6265b6b

Browse files
committed
Adjust rustdoc test for new restriction
1 parent 2234b55 commit 6265b6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/rustdoc/issue-25001.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ pub trait Bar {
1717
fn quux(self);
1818
}
1919

20-
impl<T> Foo<T> {
20+
impl Foo<u8> {
2121
// @has - '//*[@id="method.pass"]//code' 'fn pass()'
2222
pub fn pass() {}
2323
}
24-
impl<T> Foo<T> {
24+
impl Foo<u16> {
2525
// @has - '//*[@id="method.pass-1"]//code' 'fn pass() -> usize'
2626
pub fn pass() -> usize { 42 }
2727
}
28-
impl<T> Foo<T> {
28+
impl Foo<u32> {
2929
// @has - '//*[@id="method.pass-2"]//code' 'fn pass() -> isize'
3030
pub fn pass() -> isize { 42 }
3131
}

0 commit comments

Comments
 (0)