mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +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(
|
||||
cx: &LateContext<'tcx>,
|
||||
result: Result<Option<ty::ValTree<'tcx>>, ErrorHandled>,
|
||||
result: Result<Result<ty::ValTree<'tcx>, Ty<'tcx>>, ErrorHandled>,
|
||||
ty: Ty<'tcx>,
|
||||
) -> bool {
|
||||
result.map_or_else(
|
||||
|
|
Loading…
Reference in a new issue