2020-11-18 19:31:59 +01:00
|
|
|
use std::cell::Cell;
|
|
|
|
|
2019-03-07 23:39:01 +00:00
|
|
|
fn main() {
|
2020-11-18 19:31:59 +01:00
|
|
|
let _: Cell<&str, "a"> = Cell::new("");
|
2021-01-02 19:45:11 +01:00
|
|
|
//~^ ERROR this struct takes 1 generic argument but 2 generic arguments were supplied
|
2019-03-07 23:39:01 +00:00
|
|
|
}
|