diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/extern/extern-with-type-bounds.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/extern/extern-with-type-bounds.stderr b/src/test/ui/extern/extern-with-type-bounds.stderr new file mode 100644 index 000000000..acd059642 --- /dev/null +++ b/src/test/ui/extern/extern-with-type-bounds.stderr @@ -0,0 +1,9 @@ +error[E0405]: cannot find trait `NoSuchTrait` in this scope + --> $DIR/extern-with-type-bounds.rs:16:20 + | +LL | fn align_of<T: NoSuchTrait>() -> usize; + | ^^^^^^^^^^^ not found in this scope + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0405`. |