We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d921a79 commit 0a260abCopy full SHA for 0a260ab
crates/swc_ecma_transforms_base/src/rename/mod.rs
@@ -56,7 +56,7 @@ pub fn rename(map: &RenameMap) -> impl '_ + Pass + VisitMut {
56
rename_with_config(map, Default::default())
57
}
58
59
-pub fn rename_with_config<V: RenamedVariable + Sync>(
+pub fn rename_with_config<V: RenamedVariable + std::marker::Sync>(
60
map: &FxHashMap<Id, V>,
61
config: Config,
62
) -> impl '_ + Pass + VisitMut {
@@ -270,7 +270,7 @@ macro_rules! unit {
270
impl<R, V> VisitMut for RenamePass<R, V>
271
where
272
R: Renamer<Target = V>,
273
- V: RenamedVariable + Sync,
+ V: RenamedVariable + std::marker::Sync,
274
{
275
noop_visit_mut_type!();
276
0 commit comments