ruff/crates/red_knot_python_semantic/resources/mdtest/generics
Andrew Gallant 7d958a9ee5 red_knot_python_semantic: remove the "old" secondary message type
This finally completes the deletion of all old diagnostic types.

We do this by migrating the second (and last) use of secondary
diagnostic messages: to highlight the return type of a function
definition when its return value is inconsistent with the type.

Like the last diagnostic, we do actually change the message here a bit.
We don't need a sub-diagnostic here, and we can instead just add a
secondary annotation to highlight the return type.
2025-04-10 13:21:00 -04:00
..
classes.md red_knot_python_semantic: replace one use of "old" secondary diagnostic messages 2025-04-10 13:21:00 -04:00
functions.md red_knot_python_semantic: remove the "old" secondary message type 2025-04-10 13:21:00 -04:00
legacy.md Use python.typing.org for typing documentation links (#17323) 2025-04-09 20:38:20 +02:00
pep695.md [red-knot] don't remove negations when simplifying constrained typevars (#17189) 2025-04-03 16:30:57 -07:00
scoping.md red_knot_python_semantic: replace one use of "old" secondary diagnostic messages 2025-04-10 13:21:00 -04:00