Skip to content

Commit e1491b9

Browse files
committed
Allow elided_lifetimes_in_paths in doctests for rustc_backed_icu_data
1 parent 9d7b0e4 commit e1491b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • compiler/rustc_baked_icu_data/src

compiler/rustc_baked_icu_data/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
2222
// tidy-alphabetical-start
2323
#![allow(elided_lifetimes_in_paths)]
24-
#![allow(unreachable_pub)] // because this crate is mostly generated code
24+
#![allow(unreachable_pub, reason = "this crate is mostly generated code")]
2525
// #![warn(unreachable_pub)] // don't use because this crate is mostly generated code
26+
#![doc(test(attr(elided_lifetimes_in_paths)))]
2627
// tidy-alphabetical-end
2728

2829
pub struct BakedDataProvider;

0 commit comments

Comments
 (0)