Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
impl-trait
/
precise-capturing
/
forgot-to-capture-const.rs
blob: 2bf2e5fef18f53380d946e1a9a217526d34a579c [
file
] [
log
] [
blame
]
fn
constant
<
const
C
:
usize
>()
->
impl
Sized
+
use
<>
{}
//~^ ERROR `impl Trait` must mention all const parameters in scope
fn
main
()
{}