<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/compile-fail/empty-struct-unit-expr.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2017-12-14T20:23:07+00:00</updated>
<entry>
<title>Move compile-fail tests with NOTE/HELP annotations to UI</title>
<updated>2017-12-14T20:23:07+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2017-12-10T19:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4e51a8fb286444a8c276a05a1c3ba6ba8ca6576'/>
<id>urn:sha1:d4e51a8fb286444a8c276a05a1c3ba6ba8ca6576</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add E0618</title>
<updated>2017-06-15T12:00:58+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2017-06-14T16:15:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f720e972cfaadcd26a552953b1a876f1f0437ace'/>
<id>urn:sha1:f720e972cfaadcd26a552953b1a876f1f0437ace</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reword error when data-less enum variant called as function</title>
<updated>2016-10-22T18:37:22+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2016-09-13T05:11:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a449bdb20e5fd691f6d2445a6a58f5a089d60dc1'/>
<id>urn:sha1:a449bdb20e5fd691f6d2445a6a58f5a089d60dc1</id>
<content type='text'>
Given a file like:

```rust
enum Test {
    Variant,
    Variant2 {a: u32},
}

fn main(){
    let x = Test::Variant("Hello");
    let y = Test::Variant2("World");
}
```

The errors now look this way:

```bash
error[E0423]: `Test::Variant2` is the name of a struct or struct variant, but this expression uses it like a function name
  --&gt; file3.rs:10:13
   |
10 |     let y = Test::Variant2("Hello");
   |             ^^^^^^^^^^^^^^ struct called like a function
   |
   = help: did you mean to write: `Test::Variant2 { /* fields */ }`?

error: `Test::Variant` is being called, but it is not a function
 --&gt; file3.rs:9:13
  |
9 |     let x = Test::Variant("World");
  |             ^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: did you mean to write: `Test::Variant`?
note: defined here
 --&gt; file3.rs:2:5
  |
2 |     Variant,
  |     ^^^^^^^

error: aborting due to previous error
```
</content>
</entry>
<entry>
<title>std: Stabilize APIs for the 1.8 release</title>
<updated>2016-02-29T17:05:33+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-02-25T23:52:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b643782a10288a86a500168d754026bd0fce2ab5'/>
<id>urn:sha1:b643782a10288a86a500168d754026bd0fce2ab5</id>
<content type='text'>
This commit is the result of the FCPs ending for the 1.8 release cycle for both
the libs and the lang suteams. The full list of changes are:

Stabilized

* `braced_empty_structs`
* `augmented_assignments`
* `str::encode_utf16` - renamed from `utf16_units`
* `str::EncodeUtf16` - renamed from `Utf16Units`
* `Ref::map`
* `RefMut::map`
* `ptr::drop_in_place`
* `time::Instant`
* `time::SystemTime`
* `{Instant,SystemTime}::now`
* `{Instant,SystemTime}::duration_since` - renamed from `duration_from_earlier`
* `{Instant,SystemTime}::elapsed`
* Various `Add`/`Sub` impls for `Time` and `SystemTime`
* `SystemTimeError`
* `SystemTimeError::duration`
* Various impls for `SystemTimeError`
* `UNIX_EPOCH`
* `ops::{Add,Sub,Mul,Div,Rem,BitAnd,BitOr,BitXor,Shl,Shr}Assign`

Deprecated

* Scoped TLS (the `scoped_thread_local!` macro)
* `Ref::filter_map`
* `RefMut::filter_map`
* `RwLockReadGuard::map`
* `RwLockWriteGuard::map`
* `Condvar::wait_timeout_with`

Closes #27714
Closes #27715
Closes #27746
Closes #27748
Closes #27908
Closes #29866
</content>
</entry>
<entry>
<title>Preserve struct/variant kinds in metadata</title>
<updated>2016-01-15T16:57:53+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2016-01-14T11:26:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ccb4b35897c0356bb397fe045fa23ddbce9fc134'/>
<id>urn:sha1:ccb4b35897c0356bb397fe045fa23ddbce9fc134</id>
<content type='text'>
Add tests for use of empty structs in cross-crate scenarios
</content>
</entry>
<entry>
<title>Test and gate empty structures and variants better</title>
<updated>2015-10-13T12:19:20+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2015-10-02T19:41:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a12c19171887ea6d7ff708db2e2581ceaf16c14'/>
<id>urn:sha1:8a12c19171887ea6d7ff708db2e2581ceaf16c14</id>
<content type='text'>
</content>
</entry>
</feed>
