mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 17:54:15 +03:00
Fix lints
This commit is contained in:
parent
31a2af103d
commit
56be56acea
@ -116,7 +116,7 @@ impl CodeSuggestion {
|
||||
/// Returns the assembled code suggestions and whether they should be shown
|
||||
/// with an underline.
|
||||
pub fn splice_lines(&self, cm: &SourceMapperDyn) -> Vec<(String, Vec<SubstitutionPart>)> {
|
||||
use syntax_pos::{CharPos, Loc, Pos};
|
||||
use syntax_pos::{CharPos, Pos};
|
||||
|
||||
fn push_trailing(
|
||||
buf: &mut String,
|
||||
|
@ -1,7 +1,7 @@
|
||||
use super::*;
|
||||
use crate::{
|
||||
compat::{
|
||||
es2015::{block_scoping, es2015, function_name, Classes},
|
||||
es2015::{block_scoping, function_name, Classes},
|
||||
es3::ReservedWord,
|
||||
},
|
||||
resolver,
|
||||
|
Loading…
Reference in New Issue
Block a user