Skip to content

Commit cf5a803

Browse files
committed
Rebase fallout
1 parent 5ff3311 commit cf5a803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_passes/src/stability.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'tcx> {
745745
// `#![feature(const_trait_impl)]` is unstable, so any impl declared stable
746746
// needs to have an error emitted.
747747
if features.const_trait_impl
748-
&& constness == hir::Constness::Const
748+
&& *constness == hir::Constness::Const
749749
&& const_stab.map_or(false, |(stab, _)| stab.is_const_stable())
750750
{
751751
self.tcx

0 commit comments

Comments
 (0)