This PR adds notes to the deprecation warning when the replacement constant has a different type, visibility, and/or namespace. Closes #7993
7 lines
308 B
Text
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`
|