]> git.lizzy.rs Git - rust.git/commit
drive-by: use is_const and is_const_if_const
authorMichael Goulet <michael@errs.io>
Thu, 27 Jan 2022 03:24:01 +0000 (19:24 -0800)
committerMichael Goulet <michael@errs.io>
Thu, 27 Jan 2022 03:24:01 +0000 (19:24 -0800)
commitc6de4d55aab6d06f040202cbe39dc5c32809aac2
tree3076b3ae681c5b48a6059063f3e11d0f6a71a84e
parent1ab97dbc52b76fa5b4bc01a110f366d81560b81d
drive-by: use is_const and is_const_if_const
compiler/rustc_const_eval/src/const_eval/eval_queries.rs
compiler/rustc_lint/src/traits.rs
compiler/rustc_middle/src/ty/mod.rs
compiler/rustc_trait_selection/src/traits/error_reporting/mod.rs
compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs
compiler/rustc_trait_selection/src/traits/select/confirmation.rs
compiler/rustc_trait_selection/src/traits/select/mod.rs