This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-02 04:57:35 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
901b340c1f
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-15 06:05:01 +00:00
extern
crate
core
;
Add compile-fail tests for #19498
2014-12-07 01:51:58 +00:00
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-18 03:29:58 +00:00
//~^ ERROR the name `core` is defined multiple times
rustc: adjust span for error message to not trim last letter
2013-05-31 14:39:02 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink