[glsl-in] Compile tests without codespan

This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-09-16 16:10:01 -04:00
1 parent 8aae069f22
commit 60bd9ec884
1 file changed
+3
+3
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