Remove def_id field from ParamEnv
This commit is contained in:
parent
780ca140a0
commit
7dad29d686
35 changed files with 288 additions and 337 deletions
|
@ -1228,7 +1228,8 @@ impl<'tcx> LateLintPass<'tcx> for TrivialConstraints {
|
|||
ClosureKind(..) |
|
||||
Subtype(..) |
|
||||
ConstEvaluatable(..) |
|
||||
ConstEquate(..) => continue,
|
||||
ConstEquate(..) |
|
||||
TypeWellFormedFromEnv(..) => continue,
|
||||
};
|
||||
if predicate.is_global() {
|
||||
cx.struct_span_lint(TRIVIAL_BOUNDS, span, |lint| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue