Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
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
()
{}