mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
13 lines
578 B
Rust
13 lines
578 B
Rust
//@ revisions: legacy legacy-ok hashed hashed-ok
|
|
//@ [legacy] compile-flags: -Csymbol-mangling-version=legacy
|
|
//@ [legacy-ok] check-pass
|
|
//@ [legacy-ok] compile-flags: -Zunstable-options -Csymbol-mangling-version=legacy
|
|
//@ [hashed] compile-flags: -Csymbol-mangling-version=hashed
|
|
//@ [hashed-ok] check-pass
|
|
//@ [hashed-ok] compile-flags: -Zunstable-options -Csymbol-mangling-version=hashed
|
|
|
|
fn main() {}
|
|
|
|
//[legacy]~? ERROR `-C symbol-mangling-version=legacy` requires `-Z unstable-options`
|
|
//[hashed]~? ERROR `-C symbol-mangling-version=hashed` requires `-Z unstable-options`
|