mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Change callback: gate behind experimental flag
This commit is contained in:
parent
e7bf5c514b
commit
c5f857ffc9
7 changed files with 20 additions and 12 deletions
|
@ -302,6 +302,9 @@ impl std::fmt::Display for Diagnostic {
|
|||
pub struct BuildDiagnostics {
|
||||
inner: Vec<Diagnostic>,
|
||||
|
||||
/// When false, throw error for experimental features
|
||||
pub enable_experimental: bool,
|
||||
|
||||
/// This is the list of all loaded files (with or without diagnostic)
|
||||
/// does not include the main file.
|
||||
/// FIXME: this doesn't really belong in the diagnostics, it should be somehow returned in another way
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue