Skip to content

Commit 8395798

Browse files
committed
Ignore remaining broken links caused by rustdoc bugs
As pointed out by @ollie27.
1 parent 7249539 commit 8395798

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

src/tools/linkchecker/main.rs

+20-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,16 @@ fn check(cache: &mut Cache,
132132
// Unfortunately we're not 100% full of valid links today to we need a few
133133
// whitelists to get this past `make check` today.
134134
// FIXME(#32129)
135-
if file.ends_with("std/string/struct.String.html") {
135+
if file.ends_with("std/string/struct.String.html") ||
136+
file.ends_with("interpret/struct.ValTy.html") ||
137+
file.ends_with("symbol/struct.InternedString.html") ||
138+
file.ends_with("ast/struct.ThinVec.html") ||
139+
file.ends_with("util/struct.ThinVec.html") ||
140+
file.ends_with("util/struct.RcSlice.html") ||
141+
file.ends_with("layout/struct.TyLayout.html") ||
142+
file.ends_with("ty/struct.Slice.html") ||
143+
file.ends_with("ty/enum.Attributes.html") ||
144+
file.ends_with("ty/struct.SymbolName.html") {
136145
return None;
137146
}
138147
// FIXME(#32553)
@@ -144,7 +153,16 @@ fn check(cache: &mut Cache,
144153
file.ends_with("struct.BTreeSet.html") ||
145154
file.ends_with("btree_map/struct.BTreeMap.html") ||
146155
file.ends_with("hash_map/struct.HashMap.html") ||
147-
file.ends_with("hash_set/struct.HashSet.html") {
156+
file.ends_with("hash_set/struct.HashSet.html") ||
157+
file.ends_with("sync/struct.Lrc.html") ||
158+
file.ends_with("sync/struct.RwLock.html") {
159+
return None;
160+
}
161+
// FIXME(#47038)
162+
if file.ends_with("deriving/generic/index.html") ||
163+
file.ends_with("deriving/generic/macro.vec.html") ||
164+
file.ends_with("deriving/custom/macro.panic.html") ||
165+
file.ends_with("proc_macro_impl/macro.panic.html") {
148166
return None;
149167
}
150168

0 commit comments

Comments
 (0)