remove TypeWellFormedFromEnv
This commit is contained in:
parent
c6fcbaae0f
commit
0c73b41cd6
23 changed files with 18 additions and 73 deletions
|
@ -1606,8 +1606,7 @@ impl<'tcx> LateLintPass<'tcx> for TrivialConstraints {
|
|||
// Ignore bounds that a user can't type
|
||||
| ClauseKind::WellFormed(..)
|
||||
// FIXME(generic_const_exprs): `ConstEvaluatable` can be written
|
||||
| ClauseKind::ConstEvaluatable(..)
|
||||
| ClauseKind::TypeWellFormedFromEnv(_) => continue,
|
||||
| ClauseKind::ConstEvaluatable(..) => continue,
|
||||
};
|
||||
if predicate.is_global() {
|
||||
cx.emit_spanned_lint(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue