error[E0107]: wrong number of generic arguments: expected 1, found 2 --> $DIR/invalid-constant-in-args.rs:4:23 | LL | let _: Cell<&str, "a"> = Cell::new(""); | ^^^ unexpected const argument error: aborting due to previous error For more information about this error, try `rustc --explain E0107`.