Skip to content

Commit c1fb22b

Browse files
committed
Bless rustdoc test.
1 parent 821920b commit c1fb22b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/rustdoc/const-rendering-macros-33302.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ macro_rules! make {
2626

2727
// @has issue_33302/struct.S.html \
2828
// '//*[@class="impl"]' 'impl T<[i32; 16]> for S'
29-
// @has - '//*[@id="associatedconstant.C"]' 'const C: [i32; 16]'
29+
// @has - '//*[@id="associatedconstant.C-1"]' 'const C: [i32; 16]'
3030
// @has - '//*[@id="associatedconstant.D"]' 'const D: i32'
3131
impl T<[i32; ($n * $n)]> for S {
3232
const C: [i32; ($n * $n)] = [0; ($n * $n)];
3333
}
3434

3535
// @has issue_33302/struct.S.html \
3636
// '//*[@class="impl"]' 'impl T<[i32; 16]> for S'
37-
// @has - '//*[@id="associatedconstant.C-1"]' 'const C: (i32,)'
37+
// @has - '//*[@id="associatedconstant.C-2"]' 'const C: (i32,)'
3838
// @has - '//*[@id="associatedconstant.D-1"]' 'const D: i32'
3939
impl T<(i32,)> for S {
4040
const C: (i32,) = ($n,);
4141
}
4242

4343
// @has issue_33302/struct.S.html \
4444
// '//*[@class="impl"]' 'impl T<(i32, i32)> for S'
45-
// @has - '//*[@id="associatedconstant.C-2"]' 'const C: (i32, i32)'
45+
// @has - '//*[@id="associatedconstant.C"]' 'const C: (i32, i32)'
4646
// @has - '//*[@id="associatedconstant.D-2"]' 'const D: i32'
4747
impl T<(i32, i32)> for S {
4848
const C: (i32, i32) = ($n, $n);

0 commit comments

Comments
 (0)