mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
parent
7bede60272
commit
2f7ed1d73e
69 changed files with 33 additions and 98 deletions
|
@ -5,7 +5,6 @@
|
|||
use rustc::hir;
|
||||
use rustc::lint::{LateContext, LintPass, LintArray, LateLintPass, LintContext};
|
||||
use syntax::ast;
|
||||
use syntax::attr::AttrMetaMethods;
|
||||
|
||||
declare_lint!(PRIVATIZE, Deny,
|
||||
"Allows to enforce private fields for struct definitions");
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
use rustc::hir;
|
||||
use rustc::lint::{LateContext, LintPass, LintArray, LateLintPass, LintContext};
|
||||
use syntax::attr::AttrMetaMethods;
|
||||
|
||||
declare_lint!(TRANSMUTE_TYPE_LINT, Allow,
|
||||
"Warn and report types being transmuted");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue