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: misrefactored_assign_op.rs
    path of file: ./repos/oxc/crates/oxc_linter/src/rules/oxc
    
    the code of the file until where you have to start completion: // Based on https://github.com/rust-lang/rust-clippy//blob/c9a43b18f11219fa70fe632b29518581fcd589c8/clippy_lint
    
fn test() {
    use crate::tester::Tester;

    let pass = vec![
        // not `*=`
        "a = a * a * a;",
        // not `*=`
        "a = a * 42 * a;",
        // not `*=`
        "a = a * 2 + a;",
        // not commutative
        "a -= 1 - a;",
        // not commutative
        "a /= 5 / a;",
        // not commutative
        "a %= 42 % a;",
        // not commutative
        "a <<= 6 << a;",
        // different ident
        "a += b + 5;",
        // different member
        "a.b.c += a.b.e + 5;",
        "a += a.b.e + 5;",
        // different operator
        "a += a - 5;",
        // different operator
        "a += a / 5;",
        // different operator
        "a += a % 5;",
    ];

    let fail = vec![
        "a += a + 1;",
        //~^ ERROR: variable appears on both sides of an assignment operation
        "a += 1 + a;",
        //~^ ERROR: variable appears on both sides of an assignment operation
        "a -= a - 1;",
        //~^ ERROR: variable appears on both sides of an assignment operation
        "a *= a * 99;",
        //~^ ERROR: variable appears on both sides of an assignment operation
        "a *= 42 * a;",
        //~^ ERROR: variable appears on both sides of an assignment operation
        "a /= a / 2;",
        //~^ ERROR: variable appears on both sides of an assignment operation
        "a %= a % 5;",
        //~^ ERROR: variable appears on both sides of an assignment operation
        "a &= a & 1;",
        //~^ ERROR: variable appears on both sides of an assignment operation
        "a *= a * a;",
        //~^ ERROR: variable appears on both sides of an assignment operation
    ];

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