ui_test 0.30.4

A test framework for testing rustc diagnostics output
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![crate_type = "proc-macro"]

extern crate proc_macro;

use proc_macro::TokenStream;

#[proc_macro]
pub fn thing(input: TokenStream) -> TokenStream {
    std::thread::sleep(std::time::Duration::from_secs(5));
    input
}