Skip to content

Commit 57397de

Browse files
committed
Fix a comment.
Compiling any part of the compiler will almost certainly require Nightly.
1 parent 5f4177a commit 57397de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_log/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
//! }
2424
//! ```
2525
//!
26-
//! Now `LOG=debug cargo run` will run your minimal main.rs and show
26+
//! Now `LOG=debug cargo +nightly run` will run your minimal main.rs and show
2727
//! rustc's debug logging. In a workflow like this, one might also add
2828
//! `std::env::set_var("LOG", "debug")` to the top of main so that `cargo
29-
//! run` by itself is sufficient to get logs.
29+
//! +nightly run` by itself is sufficient to get logs.
3030
//!
3131
//! The reason rustc_log is a tiny separate crate, as opposed to exposing the
3232
//! same things in rustc_driver only, is to enable the above workflow. If you

0 commit comments

Comments
 (0)