fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: implementing `LintPass` by hand 2 --> $DIR/lint_pass_impl_without_macro.rs:20:6 3 | 4LL | impl LintPass for Foo { 5 | ^^^^^^^^ 6 | 7 = help: try using `declare_lint_pass!` or `impl_lint_pass!` instead 8note: the lint level is defined here 9 --> $DIR/lint_pass_impl_without_macro.rs:4:9 10 | 11LL | #![deny(rustc::lint_pass_impl_without_macro)] 12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13 14error: implementing `LintPass` by hand 15 --> $DIR/lint_pass_impl_without_macro.rs:30:14 16 | 17LL | impl LintPass for Custom { 18 | ^^^^^^^^ 19... 20LL | custom_lint_pass_macro!(); 21 | ------------------------- in this macro invocation 22 | 23 = help: try using `declare_lint_pass!` or `impl_lint_pass!` instead 24 = note: this error originates in the macro `custom_lint_pass_macro` (in Nightly builds, run with -Z macro-backtrace for more info) 25 26error: aborting due to 2 previous errors 27