slint/tests/driver/rust/main.rs
Olivier Goffart 86426087c8
Silence 2024 edition warnings
Add a check for 2024 edition warnings so we make sure users can use Slint
in a crate using the 2024 edition when it gets released.

The warnings can be silenced as we don't handle types in Slint that
have Drop with side effects other than memory allocations
2025-01-28 14:04:19 +01:00

14 lines
417 B
Rust

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
#![deny(warnings)]
#![deny(rust_2018_idioms)]
#![deny(unsafe_code)]
#![deny(rust_2024_compatibility)]
#[cfg(test)]
include!(concat!(env!("OUT_DIR"), "/generated.rs"));
fn main() {
println!("Nothing to see here, please run me through cargo test :)");
}