We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b74e97c commit fce7201Copy full SHA for fce7201
src/libproc_macro/lib.rs
@@ -38,6 +38,7 @@
38
#![feature(rustc_private)]
39
#![feature(staged_api)]
40
#![feature(lang_items)]
41
+#![feature(optin_builtin_traits)]
42
43
#[macro_use]
44
extern crate syntax;
@@ -310,6 +311,11 @@ pub struct SourceFile {
310
311
filemap: Lrc<FileMap>,
312
}
313
314
+#[unstable(feature = "proc_macro", issue = "38356")]
315
+impl !Send for SourceFile {}
316
317
+impl !Sync for SourceFile {}
318
+
319
impl SourceFile {
320
/// Get the path to this source file.
321
///
0 commit comments