Skip to content

Commit 29ed864

Browse files
authored
Rollup merge of #80523 - LeSeulArtichaut:inline-sym, r=jyn514
#[doc(inline)] sym_generated Manually doc-inlines `rustc_span::sym_generated` into `sym`. Previously the docs would not get inlined, causing the symbols to be undocumented as `sym_generated` is private. r? `@jyn514`
2 parents b86674e + 240907b commit 29ed864

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_span/src/symbol.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,7 @@ pub mod sym {
16041604
use super::Symbol;
16051605
use std::convert::TryInto;
16061606

1607+
#[doc(inline)]
16071608
pub use super::sym_generated::*;
16081609

16091610
// Used from a macro in `librustc_feature/accepted.rs`

0 commit comments

Comments
 (0)