mirror of https://github.com/rust-lang/rust.git
Rustup
This commit is contained in:
parent
1f65617372
commit
2fa85d86e0
|
@ -20,34 +20,34 @@ use rustc_plugin;
|
||||||
|
|
||||||
macro_rules! declare_clippy_lint {
|
macro_rules! declare_clippy_lint {
|
||||||
{ pub $name:tt, style, $description:tt } => {
|
{ pub $name:tt, style, $description:tt } => {
|
||||||
declare_lint! { pub $name, Warn, $description }
|
declare_lint! { pub $name, Warn, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, correctness, $description:tt } => {
|
{ pub $name:tt, correctness, $description:tt } => {
|
||||||
declare_lint! { pub $name, Deny, $description }
|
declare_lint! { pub $name, Deny, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, complexity, $description:tt } => {
|
{ pub $name:tt, complexity, $description:tt } => {
|
||||||
declare_lint! { pub $name, Warn, $description }
|
declare_lint! { pub $name, Warn, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, perf, $description:tt } => {
|
{ pub $name:tt, perf, $description:tt } => {
|
||||||
declare_lint! { pub $name, Warn, $description }
|
declare_lint! { pub $name, Warn, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, pedantic, $description:tt } => {
|
{ pub $name:tt, pedantic, $description:tt } => {
|
||||||
declare_lint! { pub $name, Allow, $description }
|
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, restriction, $description:tt } => {
|
{ pub $name:tt, restriction, $description:tt } => {
|
||||||
declare_lint! { pub $name, Allow, $description }
|
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, cargo, $description:tt } => {
|
{ pub $name:tt, cargo, $description:tt } => {
|
||||||
declare_lint! { pub $name, Allow, $description }
|
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, nursery, $description:tt } => {
|
{ pub $name:tt, nursery, $description:tt } => {
|
||||||
declare_lint! { pub $name, Allow, $description }
|
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, internal, $description:tt } => {
|
{ pub $name:tt, internal, $description:tt } => {
|
||||||
declare_lint! { pub $name, Allow, $description }
|
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
{ pub $name:tt, internal_warn, $description:tt } => {
|
{ pub $name:tt, internal_warn, $description:tt } => {
|
||||||
declare_lint! { pub $name, Warn, $description }
|
declare_lint! { pub $name, Warn, $description, report_in_external_macro }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue