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
2024-11-27 17:24:06 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a071044562
rust
/
tests
/
ui
/
issues
/
issue-7044.rs
5 lines
94 B
Rust
Raw
Normal View
History
Unescape
Escape
Update compile fail tests to use isize.
2015-01-08 10:54:35 +00:00
static
X
:
isize
=
0
;
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
struct
X
;
//~ ERROR the name `X` is defined multiple times
Add test for #7044.
2013-06-10 22:06:56 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink