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
12
13
//@aux-build:derive_proc_macro.rs

#[macro_use]
extern crate derive_proc_macro;

fn main() {
    let x = Foo;
    x = Foo;
    //~^ ERROR: cannot assign twice
}

#[derive(Something)]
struct Foo;