File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ fuzz_target!(|data: &[u8]| {
25
25
Ok ( id) => id,
26
26
Err ( e) => {
27
27
let err = e. to_string( ) ;
28
- if err. contains( "conflicts with a previously " )
28
+ if err. contains( "conflicts with a previous " )
29
29
|| err. contains( "shadows previously imported" )
30
30
{
31
31
return ;
@@ -440,7 +440,6 @@ mod generate {
440
440
}
441
441
442
442
let mut parts = Vec :: new ( ) ;
443
- let mut exports = HashSet :: new ( ) ;
444
443
let mut imported_interfaces = HashSet :: new ( ) ;
445
444
let mut exported_interfaces = HashSet :: new ( ) ;
446
445
@@ -456,7 +455,7 @@ mod generate {
456
455
let mut part = String :: new ( ) ;
457
456
let name = match direction {
458
457
Some ( Direction :: Import ) | None => gen_unique_name ( u, & mut self . unique_names ) ?,
459
- Some ( Direction :: Export ) => gen_unique_name ( u, & mut exports ) ?,
458
+ Some ( Direction :: Export ) => gen_unique_name ( u, & mut self . unique_names ) ?,
460
459
} ;
461
460
if let Some ( dir) = direction {
462
461
part. push_str ( match dir {
You can’t perform that action at this time.
0 commit comments