about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/context.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-08-01 21:04:53 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-08-05 19:11:37 +1000
commit566cdab16d74f29837b0978f25159c9ee7c51440 (patch)
tree6fcc15eefce126d1f36fc05ddcab1a87cd58d8a5 /compiler/rustc_lint/src/context.rs
parent0f353363965ebf05e0757f7679c800b39c51a07e (diff)
downloadrust-566cdab16d74f29837b0978f25159c9ee7c51440.tar.gz
rust-566cdab16d74f29837b0978f25159c9ee7c51440.zip
Clarify `value_path_str_with_args`.
The use of `print_value_path` means the value namespace is always used
and the `guess_def_namespace` call is unnecessary. This commit removes
the `guess_def_namespace` call and hard-codes `ValueNS`. It also changes
the `print_value_path` to `print_def_path` for consistency with
`def_path_str_with_args`.
Diffstat (limited to 'compiler/rustc_lint/src/context.rs')
0 files changed, 0 insertions, 0 deletions