mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: Remove empty impls.
This commit is contained in:
@@ -62,15 +62,6 @@ fn has_special_emission(type_name: &str) -> bool {
|
||||
| "Struct"
|
||||
| "Enum"
|
||||
| "Union"
|
||||
| "Trait"
|
||||
| "Module"
|
||||
| "Variant"
|
||||
| "PathExpr"
|
||||
| "RecordExpr"
|
||||
| "PathPat"
|
||||
| "RecordPat"
|
||||
| "TupleStructPat"
|
||||
| "MethodCallExpr"
|
||||
| "PathSegment"
|
||||
| "Const"
|
||||
)
|
||||
|
||||
@@ -82,24 +82,6 @@ impl Emission<ast::Union> for Translator<'_> {
|
||||
}
|
||||
}
|
||||
|
||||
impl Emission<ast::Trait> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::Module> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::Variant> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::PathExpr> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::RecordExpr> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::PathPat> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::RecordPat> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::TupleStructPat> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::MethodCallExpr> for Translator<'_> {}
|
||||
|
||||
impl Emission<ast::PathSegment> for Translator<'_> {
|
||||
fn post_emit(&mut self, node: &ast::PathSegment, label: Label<generated::PathSegment>) {
|
||||
self.extract_types_from_path_segment(node, label);
|
||||
|
||||
Reference in New Issue
Block a user