Rollup merge of #65320 - memoryruins:const_err, r=oli-obk
Report `CONST_ERR` lint in external macros fixes #65300 fixes #61058 r? @oli-obk
This commit is contained in:
commit
643261aad4
4 changed files with 40 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ declare_lint! {
|
|||
declare_lint! {
|
||||
pub CONST_ERR,
|
||||
Deny,
|
||||
"constant evaluation detected erroneous expression"
|
||||
"constant evaluation detected erroneous expression",
|
||||
report_in_external_macro: true
|
||||
}
|
||||
|
||||
declare_lint! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue