Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-const_in_array_repeat_expressions.rs
blob: be195271c10cec0d8a30e2419f9e33c8e4e2e90d [
file
] [
log
] [
blame
]
// ignore-tidy-linelength
#![
allow
(
warnings
)]
struct
Bar
;
fn
foo
()
{
let
arr
:
[
Option
<
String
>;
2
]
=
[
None
::<
String
>;
2
];
//~^ ERROR the trait bound `std::option::Option<std::string::String>: std::marker::Copy` is not satisfied [E0277]
}
fn
main
()
{}