Nicholas Nethercote
cc16c902f1
Remove #[macro_use] extern crate tracing
from rustc_hir_analysis
.
2024-08-30 17:14:59 +10:00
Nicholas Nethercote
5acf4e7b4b
Add warn(unreachable_pub)
to rustc_hir_analysis
.
2024-08-27 13:14:50 +10:00
Nicholas Nethercote
84ac80f192
Reformat use
declarations.
...
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
Esteban Küber
921de9d8ea
Revert suggestion verbosity change
2024-07-22 22:51:53 +00:00
Esteban Küber
b30fdec5fb
On generic and lifetime removal suggestion, do not leave behind stray ,
2024-07-22 22:04:49 +00:00
Esteban Küber
5c2b36a21c
Change suggestion message wording
2024-07-22 22:04:49 +00:00
Esteban Küber
c807ac0340
Use verbose suggestion for "wrong # of generics"
2024-07-22 22:04:49 +00:00
Yuri Astrakhan
aef0e346de
Avoid ref when using format! in compiler
...
Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &variable)`, and does a run-time double-reference instead (format macro already does one level referencing). Inlining format args prevents accidental `&` misuse.
2024-07-19 14:52:07 -04:00
Oli Scherer
af9ab1b026
Remove structured_errors
module
2024-07-08 19:29:55 +00:00
Michael Goulet
57085a06d9
Explicitly mention Self
2024-04-20 11:39:43 -04:00
Michael Goulet
fa0428c9d0
Flip spans for precise capturing syntax not capturing a ty/ct param
2024-04-20 10:35:04 -04:00
Michael Goulet
52c6b101ea
Use a path instead of an ident (and stop manually resolving)
2024-04-15 16:45:26 -04:00
Michael Goulet
ce8961039e
Some ordering and duplication checks
2024-04-15 16:45:26 -04:00
Michael Goulet
42ba57c013
Validation and other things
2024-04-15 16:45:01 -04:00
Oli Scherer
1d6cd8daf0
Start handling pattern types at the HIR -> Ty conversion boundary
2024-04-08 12:01:50 +00:00