mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
3390adf0d3
While at it, this cleans up all of the features. For some reason, I couldn't do `dep:clap_derive` though.
14 lines
547 B
Rust
14 lines
547 B
Rust
// Copyright 2018 Guillaume Pinot (@TeXitoi) <texitoi@texitoi.eu>
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
#[cfg(feature = "derive")]
|
|
#[rustversion::attr(any(not(stable), before(1.60), since(1.61)), ignore)] // MSRV
|
|
#[test]
|
|
fn ui() {
|
|
let t = trybuild::TestCases::new();
|
|
t.compile_fail("tests/derive_ui/*.rs");
|
|
}
|