Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
issues
/
issue-18423.rs
blob: c072e6b5d22b5ca6adac39b4717d53fd6d20281d [
file
] [
log
] [
blame
]
// Test that `Box` cannot be used with a lifetime argument.
struct
Foo
<
'
a
>
{
x
:
Box
<
'
a
,
isize
>
//~ ERROR wrong number of lifetime arguments
}
pub
fn
main
()
{
}