Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
const-generics
/
invalid-constant-in-args.rs
blob: fd259197d29826180f27a69064d34c602ba58fc3 [
file
] [
log
] [
blame
]
use
std
::
cell
::
Cell
;
fn
main
()
{
let
_
:
Cell
<&
str
,
"a"
>
=
Cell
::
new
(
""
);
//~^ ERROR struct takes 1 generic argument but 2 generic arguments were supplied
}