Skip to content

Commit

Permalink
ui: Add dummpy / explanatory main function
Browse files Browse the repository at this point in the history
This fixes regressions in the CI suite that fail otherwise unrelated
pull requests, probably due to nowadays stricter clippy errors (`cargo
+nightly clippy` previously failed with 'error[E0601]: `main` function
not found in crate `typed_html_tests`').
  • Loading branch information
chrysn authored and bodil committed Apr 24, 2020
1 parent e65a960 commit bf42fe1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
fn main() {
println!("This crate is not meant to be run, it only serves as a compilation test.");
}

#[test]
fn ui() {
extern crate version_check;
Expand Down

0 comments on commit bf42fe1

Please sign in to comment.