mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
0e80a7ab59
Suggest constraining param for unary ops when missing trait impl This PR adds a suggestion of constraining param for unary ops `-` and `!` when the corresponding trait implementation is missing. Fixs #94543. BTW, this is my first time to touch rustc, please correct me if I did anything wrong.
This directory contains the source code of the rust project, including:
- The test suite
- The bootstrapping build system
- Various submodules for tools, like rustdoc, rls, etc.
For more information on how various parts of the compiler work, see the rustc dev guide.