You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: no_object_as_default_parameter.rs
    path of file: ./repos/oxc/crates/oxc_linter/src/rules/unicorn
    
    the code of the file until where you have to start completion: use oxc_ast:
    
fn test() {
    use crate::tester::Tester;

    let pass = vec![
        r"const abc = {};",
        r"const abc = {foo: 123};",
        r"function abc(foo) {}",
        r"function abc(foo = null) {}",
        r"function abc(foo = undefined) {}",
        r"function abc(foo = 123) {}",
        r"function abc(foo = true) {}",
        r#"function abc(foo = "bar") {}"#,
        r#"function abc(foo = 123, bar = "foo") {}"#,
        r"function abc(foo = {}) {}",
        r"function abc({foo = 123} = {}) {}",
        r"(function abc() {})(foo = {a: 123})",
        r"const abc = foo => {};",
        r"const abc = (foo = null) => {};",
        r"const abc = (foo = undefined) => {};",
        r"const abc = (foo = 123) => {};",
        r"const abc = (foo = true) => {};",
        r#"const abc = (foo = "bar") => {};"#,
        r#"const abc = (foo = ("bar")) => {};"#,
        r#"const abc = (foo = 123, bar = "foo") => {};"#,
        r"const abc = (foo = {}) => {};",
        r#"const abc = ({a = true, b = "foo"}) => {};"#,
        r"const abc = function(foo = 123) {}",
        r"const {abc = {foo: 123}} = bar;",
        r#"const {abc = {null: "baz"}} = bar;"#,
        r"const {abc = {foo: undefined}} = undefined;",
        r"const abc = ([{foo = false, bar = 123}]) => {};",
        r"const abc = ({foo = {a: 123}}) => {};",
        r"const abc = ({foo = ({a: 123})}) => {};",
        r"const abc = ([foo = {a: 123}]) => {};",
        r"const abc = ({foo: bar = {a: 123}}) => {};",
        r"const abc = () => (foo = {a: 123});",
    ];

    let fail = vec![
        r"function abc(foo = {a: 123}) {}",
        r"async function * abc(foo = {a: 123}) {}",
        r"function abc(foo = {a: false}) {}",
        r"function abc(foo = ({a: false})) {}",
        r#"function abc(foo = {a: "bar"}) {}"#,
        r#"function abc(foo = {a: "bar", b: {c: true}}) {}"#,
        r"const abc = (foo = {a: false}) => {};",
        r"const abc = (foo = {a: 123, b: false}) => {};",
        r#"const abc = (foo = {a: false, b: 1, c: "test", d: null}) => {};"#,
        r"const abc = function(foo = {a: 123}) {}",
        r"function abc(foo = {a: 123}) {}",
        r"const abc = (foo = {a: false}) => {};",
        r"function abc({a} = {a: 123}) {}",
        r"function abc([a] = {a: 123}) {}",
    ];

    Tester::new(NoObjectAsDefaultParameter::NAME, pass, fail).test_and_snapshot();
}