rolldown 1.0.3

Fast JavaScript bundler in Rust, designed for the future of Vite
Documentation
---
source: crates/rolldown_testing/src/integration_test.rs
---
# Errors

## PARSE_ERROR

```text
[PARSE_ERROR] Identifier `x` has already been declared
   ╭─[ function2.js:1:10 ]
   │
 1 │ function x() { return 1 }
   │          ┬  
   │          ╰── `x` has already been declared here
   │ 
 3 │ function x() { return 2 }
   │          ┬  
   │          ╰── It can not be redeclared here
───╯

```

## PARSE_ERROR

```text
[PARSE_ERROR] Identifier `x` has already been declared
   ╭─[ function3.js:1:10 ]
   │
 1 │ function x() { return 1 }
   │          ┬  
   │          ╰── `x` has already been declared here
   │ 
 3 │ function x() { return 2 }
   │          ┬  
   │          ╰── It can not be redeclared here
───╯

```

## PARSE_ERROR

```text
[PARSE_ERROR] Identifier `x` has already been declared
   ╭─[ function3.js:3:10 ]
   │
 3 │ function x() { return 2 }
   │          ┬  
   │          ╰── `x` has already been declared here
   │ 
 5 │ function x() { return 3 }
   │          ┬  
   │          ╰── It can not be redeclared here
───╯

```