about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--RELEASES.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md
index 3a8a20fcca1..1056359ec80 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -11,6 +11,11 @@ Language
   ```rust
   #![doc = include_str!("README.md")]
   ```
+  You can also use this to include auto-generated modules:
+  ```rust
+  #[path = concat!(env!("OUT_DIR"), "/generated.rs")]
+  mod generated;
+  ```
 
 - [You can now cast between unsized slice types (and types which contain
   unsized slices) in `const fn`.][85078]