mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 11:17:04 +00:00

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`.
For more information about how rustc works, see the rustc dev guide.