Skip to content

Commit 1296d5e

Browse files
committed
Add TODO for const stability MSRV checking
1 parent 570748a commit 1296d5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/incompatible_msrv.rs

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ impl IncompatibleMsrv {
168168

169169
impl<'tcx> LateLintPass<'tcx> for IncompatibleMsrv {
170170
fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) {
171+
// TODO: check for const stability when in const context
171172
match expr.kind {
172173
ExprKind::MethodCall(_, _, _, span) => {
173174
if let Some(method_did) = cx.typeck_results().type_dependent_def_id(expr.hir_id) {

0 commit comments

Comments
 (0)