about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/examples/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/README')
-rw-r--r--src/doc/rustc-dev-guide/examples/README5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/examples/README b/src/doc/rustc-dev-guide/examples/README
index ca49dd74db2..05e44673700 100644
--- a/src/doc/rustc-dev-guide/examples/README
+++ b/src/doc/rustc-dev-guide/examples/README
@@ -4,7 +4,10 @@ For each example to compile, you will need to first run the following:
 
 To create an executable:
 
-    rustc rustc-driver-example.rs
+    rustup run nightly rustc rustc-driver-example.rs
+
+You might need to be more specific about the exact nightly version. See the comments at the top of
+the examples for the version they were written for.
 
 To run an executable: