File: compiletest.rs

package info (click to toggle)
rust-derive-utils 0.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 172 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (21)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: Apache-2.0 OR MIT

#![cfg(not(miri))]

#[rustversion::attr(not(nightly), ignore)]
#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/**/*.rs");
    t.pass("tests/run-pass/**/*.rs");
}