diff options
| author | bors <bors@rust-lang.org> | 2015-09-15 09:52:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-09-15 09:52:04 +0000 |
| commit | 6d154af14a33260bcf6b36593859dcb7d644d6fa (patch) | |
| tree | f3120ccf818bae067b5825e1506e321b991336ae /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 8320345221362e0a504e1d5efba7495bc895cb58 (diff) | |
| parent | 38f76dbc386e9367bd6dc8f1fe48e4ddfeb7f653 (diff) | |
| download | rust-6d154af14a33260bcf6b36593859dcb7d644d6fa.tar.gz rust-6d154af14a33260bcf6b36593859dcb7d644d6fa.zip | |
Auto merge of #28393 - arielb1:required-because-it-appears, r=nikomatsakis
new error style:
```
path.rs:4:6: 4:7 error: the trait `core::marker::Sized` is not implemented for the type `[u8]` [E0277]
path.rs:4 fn f(p: Path) {}
^
path.rs:4:6: 4:7 help: run `rustc --explain E0277` to see a detailed explanation
path.rs:4:6: 4:7 note: `[u8]` does not have a constant size known at compile-time
path.rs:4:6: 4:7 note: required because it appears within the type `std::sys::os_str::Slice`
path.rs:4:6: 4:7 note: required because it appears within the type `std::ffi::os_str::OsStr`
path.rs:4:6: 4:7 note: required because it appears within the type `std::path::Path`
path.rs:4:6: 4:7 note: all local variables must have a statically known size
path.rs:7:5: 7:36 error: the trait `core::marker::Send` is not implemented for the type `alloc::rc::Rc<()>` [E0277]
path.rs:7 foo::<BTreeMap<Rc<()>, Rc<()>>>();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
path.rs:7:5: 7:36 help: run `rustc --explain E0277` to see a detailed explanation
path.rs:7:5: 7:36 note: `alloc::rc::Rc<()>` cannot be sent between threads safely
path.rs:7:5: 7:36 note: required because it appears within the type `collections::btree::node::Node<alloc::rc::Rc<()>, alloc::rc::Rc<()>>`
path.rs:7:5: 7:36 note: required because it appears within the type `collections::btree::map::BTreeMap<alloc::rc::Rc<()>, alloc::rc::Rc<()>>`
path.rs:7:5: 7:36 note: required by `foo`
error: aborting due to 2 previous errors
```
Fixes #21793
Fixes #23286
r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
