diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-16 16:42:00 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-23 08:09:08 +1100 |
| commit | 15a4c4fc6f1bda15bbc6c40395ff709d1b7fd166 (patch) | |
| tree | 8ca5b6f4dd509fa123a62a75a5acfb0df6eb912f /compiler/rustc_session/src | |
| parent | e164cf30f8f96551cedece4ed199d7ecb5832648 (diff) | |
| download | rust-15a4c4fc6f1bda15bbc6c40395ff709d1b7fd166.tar.gz rust-15a4c4fc6f1bda15bbc6c40395ff709d1b7fd166.zip | |
Rename `struct_lint_level` as `lint_level`.
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/parse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/parse.rs b/compiler/rustc_session/src/parse.rs index 16036e5be38..1cfaa49401d 100644 --- a/compiler/rustc_session/src/parse.rs +++ b/compiler/rustc_session/src/parse.rs @@ -144,7 +144,7 @@ pub fn feature_warn_issue( let mut err = sess.parse_sess.dcx.struct_span_warn(span, explain); add_feature_diagnostics_for_issue(&mut err, sess, feature, issue, false); - // Decorate this as a future-incompatibility lint as in rustc_middle::lint::struct_lint_level + // Decorate this as a future-incompatibility lint as in rustc_middle::lint::lint_level let lint = UNSTABLE_SYNTAX_PRE_EXPANSION; let future_incompatible = lint.future_incompatible.as_ref().unwrap(); err.is_lint(lint.name_lower(), /* has_future_breakage */ false); |
