about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-14 16:54:35 +0100
committerGitHub <noreply@github.com>2021-02-14 16:54:35 +0100
commit29ed864dc3a066487180d08dcf8b64c6afedebba (patch)
tree74e67e7772ceff6dc1dbbabbd0fe3ba29cb569e7 /compiler/rustc_span/src
parentb86674e7cc8ac9c846ed5aca84aaefc2d0d12e4a (diff)
parent240907bbdef95fa5900daccdc3bb2d0a1e4ab82f (diff)
downloadrust-29ed864dc3a066487180d08dcf8b64c6afedebba.tar.gz
rust-29ed864dc3a066487180d08dcf8b64c6afedebba.zip
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`
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 1c37a6b2aca..ef062da3f6e 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -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`