// --------------------------------------------------------------------------- // Copyright: (c) 2022 ff. Michael Amrhein (michael@adrhinum.de) // License: This program is part of a larger application. For license // details please read the file LICENSE.TXT provided together // with the application. // --------------------------------------------------------------------------- // $Source: tests/ui/wrong_number_of_args_ref_unit.rs $ // $Revision: 2022-01-04T18:23:00+01:00 $ use quantities::prelude::*; /// Foo, a completely useless quantity #[quantity] #[ref_unit(A, "a", MEGA, 1.0)] #[unit(B, "b", 0.4)] #[unit(C, "c", 0.01)] struct Foo {} fn main() {}