Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-17904-2.rs
blob: 9603da097b1cf323961b414b23fa197623b87a9b [
file
] [
log
] [
blame
] [
edit
]
// Test that we can parse a unit struct with a where clause, even if
// it leads to an error later on since `T` is unused.
struct
Foo
<
T
>
where T
:
Copy
;
//~ ERROR parameter `T` is never used
fn
main
()
{}