-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-const-genericsArea: const generics (parameters and arguments)Area: const generics (parameters and arguments)A-intrinsicsArea: IntrinsicsArea: IntrinsicsC-bugCategory: This is a bug.Category: This is a bug.F-const_generics`#![feature(const_generics)]``#![feature(const_generics)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.
Description
Example code:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=2dd38f47a052e3545fad6cd1249d6a6a
dbg!(std::any::type_name::<Test<isize, {3}>>());
=>
[src/main.rs:11] std::any::type_name::<Test<isize, { 3 }>>() = "playground::Test<isize, >"
Metadata
Metadata
Assignees
Labels
A-const-genericsArea: const generics (parameters and arguments)Area: const generics (parameters and arguments)A-intrinsicsArea: IntrinsicsArea: IntrinsicsC-bugCategory: This is a bug.Category: This is a bug.F-const_generics`#![feature(const_generics)]``#![feature(const_generics)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.