discrimant test must not be inlined!

This commit is contained in:
Bastian Kauschke 2020-03-09 10:12:44 +01:00
parent 4b724e82d2
commit 314da73797

View File

@ -4,6 +4,7 @@
use std::mem::{discriminant, Discriminant};
#[inline(never)]
fn identity<T>(x: T) -> T { x }
enum Test {