diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-16 15:49:28 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-23 08:08:32 +1100 |
| commit | 681b9aa363d350a4b8ecb9eedc025baa6e0bf9ca (patch) | |
| tree | ef48c8e13201f7a8fa6b9507fd5a7f9e152997ec /src | |
| parent | 36e65146060b095e7491fcd03966f09c83f69ae7 (diff) | |
| download | rust-681b9aa363d350a4b8ecb9eedc025baa6e0bf9ca.tar.gz rust-681b9aa363d350a4b8ecb9eedc025baa6e0bf9ca.zip | |
Rename `TyCtxt::struct_lint_node` as `TyCtxt::node_lint`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/core.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index 8bb1ed6d476..7cf385de6b7 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -377,7 +377,7 @@ pub(crate) fn run_global_ctxt( {}/rustdoc/how-to-write-documentation.html", crate::DOC_RUST_LANG_ORG_CHANNEL ); - tcx.struct_lint_node( + tcx.node_lint( crate::lint::MISSING_CRATE_LEVEL_DOCS, DocContext::as_local_hir_id(tcx, krate.module.item_id).unwrap(), "no documentation found for this crate's top-level module", |
