diff options
| author | reez12g <reez12g@gmail.com> | 2022-09-16 17:19:03 +0900 |
|---|---|---|
| committer | reez12g <reez12g@gmail.com> | 2022-09-29 16:49:18 +0900 |
| commit | 213910a8a272a577b6ee07eb465804199e8aed49 (patch) | |
| tree | a847e2ed8278aed12d0a7d73aa909d9ed7a8ff1b /compiler/rustc_builtin_macros/src/assert | |
| parent | cf31a29492137ac2a7aa59bf49549911ef91ab24 (diff) | |
| download | rust-213910a8a272a577b6ee07eb465804199e8aed49.tar.gz rust-213910a8a272a577b6ee07eb465804199e8aed49.zip | |
Add feature flag to docs in compiler/rustc_builtin_macros/src/assert/context.rs
Diffstat (limited to 'compiler/rustc_builtin_macros/src/assert')
| -rw-r--r-- | compiler/rustc_builtin_macros/src/assert/context.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_builtin_macros/src/assert/context.rs b/compiler/rustc_builtin_macros/src/assert/context.rs index 973a8cb85c2..89f7089b11a 100644 --- a/compiler/rustc_builtin_macros/src/assert/context.rs +++ b/compiler/rustc_builtin_macros/src/assert/context.rs @@ -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)] |
