Generate alias file

This commit is contained in:
Guillaume Gomez
2018-04-19 17:46:13 +02:00
parent 654cb84852
commit 57bcabc108
6 changed files with 87 additions and 7 deletions

View File

@@ -316,6 +316,7 @@
#![feature(doc_spotlight)]
#![cfg_attr(test, feature(update_panic_count))]
#![cfg_attr(windows, feature(used))]
#![feature(doc_alias)]
#![default_lib_allocator]

View File

@@ -9,6 +9,8 @@
// except according to those terms.
#[doc(primitive = "bool")]
#[doc(alias = "true")]
#[doc(alias = "false")]
//
/// The boolean type.
///
@@ -68,6 +70,7 @@
mod prim_bool { }
#[doc(primitive = "never")]
#[doc(alias = "!")]
//
/// The `!` type, also called "never".
///