diff --git a/src/libstd/gc.rs b/src/libstd/gc.rs index 4cbecc9b42f..9985a280fa5 100644 --- a/src/libstd/gc.rs +++ b/src/libstd/gc.rs @@ -16,6 +16,8 @@ */ +#[allow(experimental)]; + use kinds::Send; use clone::{Clone, DeepClone}; use managed; @@ -24,6 +26,9 @@ #[lang="gc"] #[cfg(not(test))] #[no_send] +#[experimental = "Gc is currently based on reference-counting and will not collect cycles until \ + task annihilation. For now, cycles need to be broken manually by using `Rc` \ + with a non-owning `Weak` pointer. A tracing garbage collector is planned."] pub struct Gc { priv ptr: @T }