mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
8 lines
308 B
Rust
8 lines
308 B
Rust
#[rustc_do_not_const_check]
|
|
//~^ ERROR use of an internal attribute [E0658]
|
|
//~| NOTE the `#[rustc_do_not_const_check]` attribute is an internal implementation detail that will never be stable
|
|
//~| NOTE `#[rustc_do_not_const_check]` skips const-check for this function's body
|
|
const fn foo() {}
|
|
|
|
fn main() {}
|