1. 16 2月, 2015 2 次提交
  2. 11 2月, 2015 4 次提交
  3. 10 2月, 2015 1 次提交
    • K
      Use a crate attribute to load plugins · 93b642d9
      Keegan McAllister 提交于
          #[plugin] #[no_link] extern crate bleh;
      
      becomes a crate attribute
      
          #![plugin(bleh)]
      
      The feature gate is still required.
      
      It's almost never correct to link a plugin into the resulting library /
      executable, because it will bring all of libsyntax and librustc with it.
      However if you really want this behavior, you can get it with a separate
      `extern crate` item in addition to the `plugin` attribute.
      
      Fixes #21043.
      Fixes #20769.
      
      [breaking-change]
      93b642d9
  4. 08 2月, 2015 1 次提交
  5. 06 2月, 2015 3 次提交
  6. 05 2月, 2015 2 次提交
    • B
      Add a lint for writing `#[feature]` for stable features, warn by default. · 456d23e7
      Brian Anderson 提交于
      The 'stable_features' lint helps people progress from unstable to
      stable Rust by telling them when they no longer need a `feature`
      attribute because upstream Rust has declared it stable.
      
      This compares to the existing 'unstable_features', which is used
      to implement feature staging, and triggers on *any* use
      of `#[feature]`.
      456d23e7
    • J
      Fix for misspelled comments. · dc2e444e
      Joseph Crail 提交于
      The spelling corrections were made in both documentation comments and
      regular comments.
      dc2e444e
  7. 04 2月, 2015 1 次提交
  8. 03 2月, 2015 1 次提交
  9. 31 1月, 2015 1 次提交
  10. 29 1月, 2015 1 次提交
  11. 27 1月, 2015 1 次提交
  12. 23 1月, 2015 1 次提交
  13. 22 1月, 2015 2 次提交
  14. 21 1月, 2015 2 次提交
  15. 17 1月, 2015 2 次提交
    • H
      Feature gate SIMD in FFI, due to unknown ABIs. · c8e0e954
      Huon Wilson 提交于
      I don't know if this handling of SIMD types is correct for the C ABI on
      all platforms, so lets add an even finer feature gate than just the
      `simd` one.
      
      The `simd` one can be used with (relatively) little risk of complete
      nonsense, the reason for it is that it is likely that things will
      change. Using the types in FFI with an incorrect ABI will at best give
      absolute nonsense results, but possibly cause serious breakage too, so
      this is a step up in badness, hence a new feature gate.
      c8e0e954
    • A
      syntax: Feature gate #[start] and #[main] · 38cb91e6
      Alex Crichton 提交于
      These two attributes are used to change the entry point into a Rust program, but
      for now they're being put behind feature gates until we have a chance to think
      about them a little more. The #[start] attribute specifically may have its
      signature changed.
      
      This is a breaking change to due the usage of these attributes generating errors
      by default now. If your crate is using these attributes, add this to your crate
      root:
      
          #![feature(start)] // if you're using the #[start] attribute
          #![feature(main)]  // if you're using the #[main] attribute
      
      cc #20064
      38cb91e6
  16. 12 1月, 2015 1 次提交
  17. 09 1月, 2015 2 次提交
  18. 08 1月, 2015 4 次提交
  19. 07 1月, 2015 5 次提交
    • A
      Test fixes and rebase conflicts · 56a9e2fc
      Alex Crichton 提交于
      56a9e2fc
    • A
      Register new snapshots · e2f97f51
      Alex Crichton 提交于
      Conflicts:
      	src/librbml/lib.rs
      	src/libserialize/json_stage0.rs
      	src/libserialize/serialize_stage0.rs
      	src/libsyntax/ast.rs
      	src/libsyntax/ext/deriving/generic/mod.rs
      	src/libsyntax/parse/token.rs
      e2f97f51
    • N
      fallout · 0c7f7a5f
      Nick Cameron 提交于
      0c7f7a5f
    • N
      Implement impl reachability rules. This is a [breaking-change]. Type · 2375a791
      Niko Matsakis 提交于
      parameters on impls must now also appear in the trait ref, self type,
      or some associated type declared on the impl. This ensures that they
      are constrianed in some way and that the semantics of the trait system
      are well-defined (always a good thing).
      
      There are three major ways to fix this error:
      
      1. Convert the trait to use associated types; most often the type
         parameters are not constrained because they are in fact outputs of
         the impl.
      
      2. Move the type parameters to methods.
      
      3. Add an additional type parameter to the self type or trait so that
         the unused parameter can appear there.
      
      In some cases, it is not possible to fix the impl because the trait
      definition needs to be changed first (and that may be out of your
      control). In that case, for the time being, you can opt out of these
      rules by using `#[old_impl_check]` on the impl and adding a
      `#![feature(old_impl_check)]` to your crate declaration.
      2375a791
    • N
      Replace full slice notation with index calls · f7ff37e4
      Nick Cameron 提交于
      f7ff37e4
  20. 06 1月, 2015 3 次提交