Plumb through param_env to note_type_err
This commit is contained in:
parent
b8bb2968ce
commit
1920c66a8d
15 changed files with 98 additions and 39 deletions
|
@ -2300,10 +2300,10 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
|
|||
&mut diag,
|
||||
&cause,
|
||||
None,
|
||||
Some(ValuePairs::PolySigs(ExpectedFound {
|
||||
Some(param_env.and(ValuePairs::PolySigs(ExpectedFound {
|
||||
expected: ty::Binder::dummy(expected_sig),
|
||||
found: ty::Binder::dummy(sig),
|
||||
})),
|
||||
}))),
|
||||
terr,
|
||||
false,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue