diff options
| author | Zachary S <zasample18+github@gmail.com> | 2025-01-30 20:45:30 -0600 |
|---|---|---|
| committer | Zachary S <zasample18+github@gmail.com> | 2025-02-18 13:11:37 -0600 |
| commit | bfde43c84bfb35fd0d7c7ea46f8cdb0d682ef680 (patch) | |
| tree | 96d9f1a9fd593740229f2521d2236ad1de4956f9 /compiler/rustc_codegen_llvm/src | |
| parent | fe37adab4b378d68eda8a8893339606d7f381465 (diff) | |
| download | rust-bfde43c84bfb35fd0d7c7ea46f8cdb0d682ef680.tar.gz rust-bfde43c84bfb35fd0d7c7ea46f8cdb0d682ef680.zip | |
Suggest using :: instead of . for enums in some cases.
Suggest replacing `.` with `::` when encountering "expected value, found enum": - in a method-call expression and the method has the same name as a tuple variant - in a field-access expression and the field has the same name as a unit or tuple variant
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
