rust/clippy_utils/src
bors b1e87922c1 Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo
Don't use `LateContext` in the constant evaluator

This also changes the interface to require explicitly creating the context. `constant` could be added back in, but the others are probably not worth it.

A couple of bugs have been fixed. The wrong `TypeckResults` was used once when evaluating a constant, and the wrong `ParamEnv` was used by some callers (there wasn't a way to use the correct one).

changelog: none
2024-08-08 14:42:42 +00:00
..
ast_utils Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
mir Merge commit '68a799aea9' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
ty/type_certainty Refactor for using config values: 2024-07-17 14:05:49 -04:00
ast_utils.rs Rollup merge of #127058 - compiler-errors:tighten-async-spans, r=oli-obk 2024-06-28 08:34:10 +02:00
attrs.rs Merge commit '9725c4a162' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
check_proc_macro.rs Merge commit '68a799aea9' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
comparisons.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
consts.rs Require ConstEvalCtxt to be constructed. 2024-08-08 10:37:10 -04:00
diagnostics.rs Remove multispan_sugg[_with_applicability] 2024-08-04 13:14:23 +00:00
eager_or_lazy.rs Require ConstEvalCtxt to be constructed. 2024-08-08 10:37:10 -04:00
higher.rs Require ConstEvalCtxt to be constructed. 2024-08-08 10:37:10 -04:00
hir_utils.rs Require ConstEvalCtxt to be constructed. 2024-08-08 10:37:10 -04:00
lib.rs Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo 2024-08-08 14:42:42 +00:00
macros.rs Merge commit '3e5a02b13b' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
numeric_literal.rs fix [excessive_precision] suggestions on float literal written in scientific notation 2024-07-15 18:52:18 -03:00
paths.rs Merge commit 'b794b8e08c' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
ptr.rs Merge commit '3e5a02b13b' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
qualify_min_const_fn.rs Add support for mir::TerminatorKind::TailCall in clippy 2024-07-07 17:11:05 +02:00
source.rs Add HasSession trait 2024-08-08 10:31:45 -04:00
str_utils.rs Merge commit '09ac14c901' into clippyup 2023-11-02 17:35:56 +01:00
sugg.rs Lint casts to u128 in cast_lossless 2024-07-24 14:32:41 +00:00
sym_helper.rs Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
ty.rs Auto merge of #13115 - tesuji:rm-dup-peels, r=dswij 2024-08-03 07:32:30 +00:00
usage.rs Merge commit '3e5a02b13b' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
visitors.rs get rid of unnecessary res field in for_each_expr visitors 2024-07-25 15:02:31 +02:00