This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
rust
/
tests
/
ui
/
resolve
/
issue-111727.rs
7 lines
108 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ edition: 2021
Keep only the trait when emitting the error for `MyTrait + 'a`
2023-05-19 22:11:54 +08:00
fn
main
(
)
{
Don't cancel stashed `TraitMissingMethod` errors. This gives one extra error message on two tests, but is necessary to fix bigger problems caused by the cancellation of stashed errors. (Note: why not just avoid stashing altogether? Because that resulted in additional output changes.)
2024-02-26 17:22:24 +11:00
std
::
any
::
Any
::
create
(
)
;
Don't assume traits used as type are trait objs
2024-10-04 16:10:28 +02:00
//~^ ERROR expected a type, found a trait
Keep only the trait when emitting the error for `MyTrait + 'a`
2023-05-19 22:11:54 +08:00
}
Reference in New Issue
Copy Permalink