mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
valtree construction: keep track of which type was valtree-incompatible
This commit is contained in:
parent
c1c945a350
commit
b0209dc028
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ impl<'tcx> NonCopyConst<'tcx> {
|
||||||
|
|
||||||
fn is_value_unfrozen_raw(
|
fn is_value_unfrozen_raw(
|
||||||
cx: &LateContext<'tcx>,
|
cx: &LateContext<'tcx>,
|
||||||
result: Result<Option<ty::ValTree<'tcx>>, ErrorHandled>,
|
result: Result<Result<ty::ValTree<'tcx>, Ty<'tcx>>, ErrorHandled>,
|
||||||
ty: Ty<'tcx>,
|
ty: Ty<'tcx>,
|
||||||
) -> bool {
|
) -> bool {
|
||||||
result.map_or_else(
|
result.map_or_else(
|
||||||
|
|
Loading…
Add table
Reference in a new issue