Commit 2d1b9619 authored by Richard Eisenberg's avatar Richard Eisenberg Committed by Marge Bot

Warn on inferred polymorphic recursion

Silly users sometimes try to use visible dependent quantification
and polymorphic recursion without a CUSK or SAK. This causes
unexpected errors. So we now adjust expectations with a bit
of helpful messaging.

Closes #17541 and closes #17131.

test cases: dependent/should_fail/T{17541{,b},17131}
parent f80c4a66
Pipeline #13677 failed with stages
in 599 minutes and 35 seconds