Add feature flag to docs in compiler/rustc_builtin_macros/src/assert/context.rs
This commit is contained in:
parent
cf31a29492
commit
213910a8a2
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ impl<'cx, 'a> Context<'cx, 'a> {
|
|||
/// Builds the whole `assert!` expression. For example, `let elem = 1; assert!(elem == 1);` expands to:
|
||||
///
|
||||
/// ```rust
|
||||
/// #![feature(generic_assert_internals)]
|
||||
/// let elem = 1;
|
||||
/// {
|
||||
/// #[allow(unused_imports)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue