This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
c72fcfbc40
rust
/
tests
/
ui
/
unresolved
/
unresolved-extern-mod-suggestion.rs
6 lines
96 B
Rust
Raw
Normal View
History
Unescape
Escape
Remove a large amount of deprecated functionality Spring cleaning is here! In the Fall! This commit removes quite a large amount of deprecated functionality from the standard libraries. I tried to ensure that only old deprecated functionality was removed. This is removing lots and lots of deprecated features, so this is a breaking change. Please consult the deprecation messages of the deleted code to see how to migrate code forward if it still needs migration. [breaking-change]
2014-10-14 23:05:01 -07:00
extern
crate
core
;
Add compile-fail tests for #19498
2014-12-07 07:21:58 +05:30
use
core
;
Clearer Error Message for Duplicate Definition Clearer use of the error message and span labels to communicate duplicaiton defitions/imports. New error format: ``` error[E0428]: the name `Foo` is defined twice --> example.rs:2:1 | 1 | trait Foo { } | ------------- previous definition of the trait `Foo` here 2 | struct Foo { } | ^^^^^^^^^^^^^^ `Foo` redefined here = note: `Foo` must be defined only once in the type namespace of this module error: aborting due to previous error ```
2017-05-17 20:29:58 -07:00
//~^ ERROR the name `core` is defined multiple times
rustc: adjust span for error message to not trim last letter
2013-06-01 00:39:02 +10:00
fn
main
(
)
{
}
Reference in a new issue
Copy permalink