mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
[glsl-in] Compile tests without codespan
This commit is contained in:
1 parent
8aae069f22
commit
60bd9ec884
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user