1. 19 6月, 2018 3 次提交
  2. 18 6月, 2018 6 次提交
    • B
      Auto merge of #51414 - oli-obk:impl_trait_type_def, r=pnkfelix · 862703e0
      bors 提交于
      Add existential type definitions
      
      Note: this does not allow creating named existential types, it just desugars `impl Trait` to a less (but still very) hacky version of actual `existential type` items.
      
      r? @nikomatsakis
      862703e0
    • B
      Auto merge of #51605 - ericfindlay:master, r=kennytm · c45ae9ea
      bors 提交于
      Fixed minor error in Compiler Error Index, E0603.
      c45ae9ea
    • B
      Auto merge of #51404 - clarcharr:never_hash, r=KodrAus · 4f293639
      bors 提交于
      impl Hash for !
      
      This was missing in some generic code I was writing and I figured that it would be worthwhile to add this. Blanket-requiring these traits to allow usage of errors in `HashSet`s and `HashMap`s isn't too unreasonable of a use case, and a prerequisite for allowing `!` as an error in such situations is this impl.
      4f293639
    • B
      Auto merge of #51529 - nodakai:improve-sys_common-mutex, r=oli-obk · 86a8f1a6
      bors 提交于
      libstd: add an RAII utility for sys_common::mutex::Mutex
      
      It is indeed debatable whether or not we should introduce more sophistication like this to the lowest layer of a system library. In fact, `Drop::drop()` cannot be `unsafe` (IIRC there was a discussion on introducing an unsafe variant of `Drop` whose entire scope must be within `unsafe`)
      86a8f1a6
    • B
      Auto merge of #51555 - ccesare:remove_unused_variables_redox_os, r=kennytm · 2b973e65
      bors 提交于
      Removed two unused variables in os.rs
      
      Issue #51419 suggested removing two unused variables in `libstd/sys/redox/os.rs`. This PR implements that change.
      
      It compiles for me locally, but I haven't run any other tests.
      2b973e65
    • B
      Auto merge of #51552 - ccesare:patch-1, r=kennytm · 85a6cd9a
      bors 提交于
      Minor language change to CONTRIBUTING.md
      
      In the `#building` section, the doc read that a default configuration "shall use around 3.5 GB of disk space." Changed "shall use" to "requires," as I don't think it's meant to sound so prescriptive.
      85a6cd9a
  3. 17 6月, 2018 14 次提交
  4. 16 6月, 2018 16 次提交
  5. 15 6月, 2018 1 次提交