[glsl-in] Compile tests without codespan

This commit is contained in:
João Capucho
2021-09-16 20:49:26 +01:00
committed by Dzmitry Malyshau
parent 8aae069f22
commit 60bd9ec884

View File

@@ -25,10 +25,13 @@ use std::ops::Range;
///
/// ```rust
/// # use naga::front::glsl::SourceMetadata;
/// # #[cfg(feature = "codespan_reporting")]
/// # {
/// use codespan_reporting::diagnostic::Label;
/// # let file = ();
/// # let meta = SourceMetadata::default();
/// let label = Label::primary(file, meta);
/// # }
/// ```
///
/// # Notes