lean4-htt/tests/lean/warningAsError.lean.expected.out
jrr6 ee1854a607
feat: note potential discrepancies in deprecation warning (#9606)
This PR adds notes to the deprecation warning when the replacement
constant has a different type, visibility, and/or namespace.

Closes #7993
2025-07-31 16:41:14 +00:00

7 lines
308 B
Text

warningAsError.lean:8:6-8:7: warning: `g` has been deprecated: Use `f` instead
1
warningAsError.lean:12:6-12:7: error: `g` has been deprecated: Use `f` instead
1
warningAsError.lean:15:7-15:13: error: unused variable `unused`
Note: This linter can be disabled with `set_option linter.unusedVariables false`