blob: 36f29e2869f957fa919fc8b84568c068c3f7da6b [file]
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
#[lang = "sized"]
pub trait Sized {}
#[lang = "fn_once"]
pub trait FnOnce<Args> {
#[lang = "fn_once_output"]
type Output;
extern "rust-call" fn call_once(self, args: Args) -> Self::Output;
}
fn main() {
let lambda = |&c| c != b'9';
let a = b'1';
lambda(&a);
}