rust/compiler/rustc_lint/src
bors 9bdb4881c7 Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors
a general type system cleanup

removes the helper functions `traits::fully_solve_X` as they add more complexity then they are worth. It's confusing which of these helpers should be used in which context.

changes the way we deal with overflow to always add depth in `evaluate_predicates_recursively`. It may make sense to actually fully transition to not have `recursion_depth` on obligations but that's probably a bit too much for this PR.

also removes some other small - and imo unnecessary - helpers.

r? types
2023-03-22 05:33:18 +00:00
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
builtin.rs Use local key in providers 2023-03-21 15:38:51 +00:00
context.rs Move the unused extern crate check back to the resolver. 2023-02-22 20:48:27 +00:00
deref_into_dyn_supertrait.rs Don't eagerly convert principal to string 2023-02-17 14:44:58 +00:00
early.rs fix issues in unused lint 2023-01-14 17:11:04 +08:00
enum_intrinsics_non_enums.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
expect.rs Auto merge of #106776 - oli-obk:om_nom_nom_nom_nom, r=cjgillot 2023-01-13 13:57:21 +00:00
for_loops_over_fallibles.rs use the correct param env 2023-03-21 09:57:22 +01:00
hidden_unicode_codepoints.rs migrate: hidden_unicode_codepoints.rs 2023-01-09 17:07:25 -05:00
internal.rs Use local key in providers 2023-03-21 15:38:51 +00:00
late.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
let_underscore.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
levels.rs Querify registered_tools. 2023-03-06 10:56:23 +00:00
lib.rs Add lint for useless anonymous reexports 2023-03-12 15:12:42 +01:00
lints.rs Rollup merge of #109003 - GuillaumeGomez:useless-anonymous-reexport-lint, r=cjgillot 2023-03-19 15:33:57 +05:30
map_unit_fn.rs Fix #109152, fix the scenario that we may can not get span of func 2023-03-15 14:07:39 +08:00
methods.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
multiple_supertrait_upcastable.rs Reintroduce multiple_supertrait_upcastable lint 2023-01-28 15:08:07 +00:00
non_ascii_idents.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
non_fmt_panic.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
nonstandard_style.rs Use local key in providers 2023-03-21 15:38:51 +00:00
noop_method_call.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
opaque_hidden_inferred_bound.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
pass_by_value.rs remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata 2023-02-16 17:05:56 -07:00
passes.rs Take a LocalDefId in hir::Visitor::visit_fn. 2023-01-28 09:51:50 +00:00
redundant_semicolon.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
reexports.rs Add lint for useless anonymous reexports 2023-03-12 15:12:42 +01:00
tests.rs Update to last upstream version 2021-07-08 17:14:28 +02:00
traits.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
types.rs rustc_middle: Remove trait DefIdTree 2023-03-02 23:46:44 +04:00
unused.rs error-msg: expand suggestion for unused lint 2023-03-15 23:30:12 +13:00