We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f4177a commit 57397deCopy full SHA for 57397de
compiler/rustc_log/src/lib.rs
@@ -23,10 +23,10 @@
23
//! }
24
//! ```
25
//!
26
-//! Now `LOG=debug cargo run` will run your minimal main.rs and show
+//! Now `LOG=debug cargo +nightly run` will run your minimal main.rs and show
27
//! rustc's debug logging. In a workflow like this, one might also add
28
//! `std::env::set_var("LOG", "debug")` to the top of main so that `cargo
29
-//! run` by itself is sufficient to get logs.
+//! +nightly run` by itself is sufficient to get logs.
30
31
//! The reason rustc_log is a tiny separate crate, as opposed to exposing the
32
//! same things in rustc_driver only, is to enable the above workflow. If you
0 commit comments