Rebase fallout
This commit is contained in:
parent
5ff331142e
commit
cf5a803600
@ -745,7 +745,7 @@ fn visit_item(&mut self, item: &'tcx hir::Item<'tcx>) {
|
||||
// `#![feature(const_trait_impl)]` is unstable, so any impl declared stable
|
||||
// needs to have an error emitted.
|
||||
if features.const_trait_impl
|
||||
&& constness == hir::Constness::Const
|
||||
&& *constness == hir::Constness::Const
|
||||
&& const_stab.map_or(false, |(stab, _)| stab.is_const_stable())
|
||||
{
|
||||
self.tcx
|
||||
|
Loading…
Reference in New Issue
Block a user