Skip to content

Commit

Permalink
valtree construction: keep track of which type was valtree-incompatible
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jul 18, 2024
1 parent c1c945a commit b0209dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/non_copy_const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b0209dc

Please sign in to comment.