We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a619db commit 97f5f0fCopy full SHA for 97f5f0f
compiler/rustc_session/src/options.rs
@@ -130,7 +130,7 @@ top_level_options!(
130
pub struct Options {
131
/// The crate config requested for the session, which may be combined
132
/// with additional crate configurations during the compile process.
133
- #[rustc_lint_opt_deny_field_access("use `Session::crate_types` instead of this field")]
+ #[rustc_lint_opt_deny_field_access("use `TyCtxt::crate_types` instead of this field")]
134
crate_types: Vec<CrateType> [TRACKED],
135
optimize: OptLevel [TRACKED],
136
/// Include the `debug_assertions` flag in dependency tracking, since it
0 commit comments