]> git.proxmox.com Git - rustc.git/blame - vendor/structopt/tests/macro-errors.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / vendor / structopt / tests / macro-errors.rs
CommitLineData
f20569fa
XL
1// Copyright 2018 Guillaume Pinot (@TeXitoi) <texitoi@texitoi.eu>
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7
8#[rustversion::attr(any(not(stable), before(1.43)), ignore)]
9#[test]
10fn ui() {
11 let t = trybuild::TestCases::new();
12 t.compile_fail("tests/ui/*.rs");
13}