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