Skip to content

Commit

Permalink
Rollup merge of #80523 - LeSeulArtichaut:inline-sym, r=jyn514
Browse files Browse the repository at this point in the history
#[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`
  • Loading branch information
Dylan-DPC committed Feb 14, 2021
2 parents b86674e + 240907b commit 29ed864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_span/src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1604,6 +1604,7 @@ pub mod sym {
use super::Symbol;
use std::convert::TryInto;

#[doc(inline)]
pub use super::sym_generated::*;

// Used from a macro in `librustc_feature/accepted.rs`
Expand Down

0 comments on commit 29ed864

Please sign in to comment.