Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 175 Bytes
// This test should pass since 'identity' is const fn.
// build-pass (FIXME(62277): could be check-pass?)
fn main() {
const _FOO: u8 = ::std::convert::identity(42u8);
You can’t perform that action at this time.