mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
59e339f766
Co-authored-by: Boxy UwU <rust@boxyuwu.dev> Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
18 lines
270 B
Rust
18 lines
270 B
Rust
//@ known-bug: #132985
|
|
//@ aux-build:aux132985.rs
|
|
|
|
#![allow(incomplete_features)]
|
|
#![feature(min_generic_const_args)]
|
|
#![feature(adt_const_params)]
|
|
|
|
extern crate aux132985;
|
|
use aux132985::Foo;
|
|
|
|
fn bar<const N: Foo>() {}
|
|
|
|
fn baz() {
|
|
bar::<{ Foo }>();
|
|
}
|
|
|
|
fn main() {}
|