mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
discrimant test must not be inlined!
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
use std::mem::{discriminant, Discriminant};
|
||||
|
||||
#[inline(never)]
|
||||
fn identity<T>(x: T) -> T { x }
|
||||
|
||||
enum Test {
|
||||
|
||||
Reference in New Issue
Block a user