about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2021-06-07 17:08:13 +0200
committerPietro Albini <pietro@pietroalbini.org>2021-06-07 18:09:12 +0200
commita1c884682c9c056990327aa86b2d966771b1e492 (patch)
tree6baeb4bc454b360a6c18ccf95e44495138b9bf39 /compiler/rustc_codegen_gcc/example/alloc_example.rs
parent022720bfccd46400e69def42f4647fe4059ad951 (diff)
downloadrust-a1c884682c9c056990327aa86b2d966771b1e492.tar.gz
rust-a1c884682c9c056990327aa86b2d966771b1e492.zip
ignore ui-fulldeps/session-derive-errors.rs on beta and stable
The session-derive-errors test ensures the internal SessionDiagnostic
derive macro outputs the right error messages when misused.

The macro relies on the proc_macro2 crate though, which changes its span
behavior depending on whether the channel is nightly or not. This caused
test failures when bumping the channel from nightly to beta/stable.

Since SessionDiagnostic is internal-only we don't care about its
diagnostics quality outside of nightly, as the compiler itself is
developed on nightly. Thus the easiest solution is to ignore that test
on the beta and stable channels.

This also implements `// only-{channel}` and `// ignore-{channel}` in
compiletest to properly support the change.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions