File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[
4242 "#method.get_unchecked_mut" ,
4343 ] ,
4444 ) ,
45+ // FIXME(#74672): "Read more" is broken
46+ ( "std/primitive.usize.html" , & [ "#tymethod.from_u64" ] ) ,
47+ ( "std/primitive.u32.html" , & [ "#tymethod.from_u64" ] ) ,
48+ ( "std/primitive.u64.html" , & [ "#tymethod.from_u64" ] ) ,
4549 // These try to link to std::collections, but are defined in alloc
4650 // https://github.com/rust-lang/rust/issues/74481
4751 ( "std/collections/btree_map/struct.BTreeMap.html" , & [ "#insert-and-complex-keys" ] ) ,
@@ -142,6 +146,12 @@ fn is_exception(file: &Path, link: &str) -> bool {
142146 if let Some ( entry) = LINKCHECK_EXCEPTIONS . iter ( ) . find ( |& ( f, _) | file. ends_with ( f) ) {
143147 entry. 1 . contains ( & link)
144148 } else {
149+ // FIXME(#63351): Concat trait in alloc/slice reexported in primitive page
150+ if file. ends_with ( "std/primitive.slice.html" ) {
151+ if link. ends_with ( "std/primitive.slice.html" ) {
152+ return true ;
153+ }
154+ }
145155 false
146156 }
147157}
You can’t perform that action at this time.
0 commit comments