about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorZachary S <zasample18+github@gmail.com>2025-01-30 16:28:00 -0600
committerZachary S <zasample18+github@gmail.com>2025-02-18 13:11:37 -0600
commitfe37adab4b378d68eda8a8893339606d7f381465 (patch)
tree9eb168ce9e4cb70f05d0978e96d5abb2c88b0ec9 /compiler/rustc_codegen_llvm/src
parent3b022d8ceea570db9730be34d964f0cc663a567f (diff)
downloadrust-fe37adab4b378d68eda8a8893339606d7f381465.tar.gz
rust-fe37adab4b378d68eda8a8893339606d7f381465.zip
Suggest using :: instead of . in more cases.
When `Foo.field` or `Foo.method()` exprs are encountered, suggest `Foo::field` or `Foo::method()` when Foo is a type alias, not just
a struct, trait, or module.

Also rename test for this suggestion from issue-22692.rs to something more meaningful.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions