mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 12:23:22 +00:00

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() {}
|