File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ //@ only-wasm32
2+ //@ revisions: v0_1_0 v0_2_87 v0_2_88 v0_3_0 v1_0_0
3+ //@[v0_1_0] check-fail
4+ //@[v0_1_0] rustc-env:CARGO_PKG_VERSION_MAJOR=0
5+ //@[v0_1_0] rustc-env:CARGO_PKG_VERSION_MINOR=1
6+ //@[v0_1_0] rustc-env:CARGO_PKG_VERSION_PATCH=0
7+ //@[v0_2_87] check-fail
8+ //@[v0_2_87] rustc-env:CARGO_PKG_VERSION_MAJOR=0
9+ //@[v0_2_87] rustc-env:CARGO_PKG_VERSION_MINOR=2
10+ //@[v0_2_87] rustc-env:CARGO_PKG_VERSION_PATCH=87
11+ //@[v0_2_88] check-pass
12+ //@[v0_2_88] rustc-env:CARGO_PKG_VERSION_MAJOR=0
13+ //@[v0_2_88] rustc-env:CARGO_PKG_VERSION_MINOR=2
14+ //@[v0_2_88] rustc-env:CARGO_PKG_VERSION_PATCH=88
15+ //@[v0_3_0] check-pass
16+ //@[v0_3_0] rustc-env:CARGO_PKG_VERSION_MAJOR=0
17+ //@[v0_3_0] rustc-env:CARGO_PKG_VERSION_MINOR=3
18+ //@[v0_3_0] rustc-env:CARGO_PKG_VERSION_PATCH=0
19+ //@[v1_0_0] check-pass
20+ //@[v1_0_0] rustc-env:CARGO_PKG_VERSION_MAJOR=1
21+ //@[v1_0_0] rustc-env:CARGO_PKG_VERSION_MINOR=0
22+ //@[v1_0_0] rustc-env:CARGO_PKG_VERSION_PATCH=0
23+
24+ #![ crate_name = "wasm_bindgen" ]
25+ //[v0_1_0]~^ ERROR: older versions of the `wasm-bindgen` crate
26+ //[v0_2_87]~^^ ERROR: older versions of the `wasm-bindgen` crate
27+
28+ fn main ( ) { }
Original file line number Diff line number Diff line change 1+ error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88
2+ --> $DIR/wasm-bindgen-broken-error.rs:24:1
3+ |
4+ LL | #![crate_name = "wasm_bindgen"]
5+ | ^
6+
7+ error: aborting due to 1 previous error
8+
Original file line number Diff line number Diff line change 1+ error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88
2+ --> $DIR/wasm-bindgen-broken-error.rs:24:1
3+ |
4+ LL | #![crate_name = "wasm_bindgen"]
5+ | ^
6+
7+ error: aborting due to 1 previous error
8+
You can’t perform that action at this time.
0 commit comments